On Wed, Mar 21, 2012 at 7:32 PM, Freddy Chua <fre...@cmu.edu> wrote:
> Hi Ni,
>
> I spoke to you earlier about the degree of a node, some nodes have no out
> degree so it resulted in a divide by zero error.
>
> Freddy
> 2. I met some cases the total degree of some u are zero here. how do we deal
> with them? Assign a small positive number to d(u) and ignore this
> independent node?
"I guess if there is no outlink for a node, we can just treat its
corresponding row in P as all zeros."
> 3. the first line of the "test.adj" file is "(\tab)London" without a node
> name. Do we ignore? Or treat it as a node names empty?
>
as a node names empty
So either count out/in links only or both in and out links.
Ni