question: public void reduce ( Text key , Iterator < LinkDatum > values , OutputCollector < Text , Node > output , Reporter reporter ) throws IOException { Node node = new Node ( ) ; int numInlinks = 0 ; int numOutlinks = 0 ; while ( values . hasNext ( ) ) { LinkDatum next = values . next ( ) ; if ( next . getLinkType ( ) == LinkDatum . INLINK ) { numInlinks ++ ; } else if ( next . getLinkType ( ) == LinkDatum . OUTLINK ) { numOutlinks ++ ; } } node . setNumInlinks ( numInlinks ) ; node . setNumOutlinks ( numOutlinks ) ; node . setInlinkScore ( 0.0f ) ; output . collect ( key , node ) ; }
target:  Counts the number of inlinks and outlinks for each url and sets a default score of 0.0 for each url (node) in the webgraph.