//
// message to self
output.collect(new Text(fields[0]), new Text("labels" + _kDelim + line));
// message to neighbors
TObjectDoubleIterator neighIterator = neighbors.iterator();
while (neighIterator.hasNext()) {
neighIterator.advance();
// message (neighbor_node, current_node + DELIM + curr_node_label_scores
output.collect(new Text((String) neighIterator.key()),
new Text("labels" + _kDelim + fields[0] + _kDelim + fields[3]));
// message (neighbor_node, curr_node + DELIM + curr_node_edge_weights + DELIM curr_node_cont_prob
assert(neighbors.containsKey((String) neighIterator.key()));
output.collect(new Text((String) neighIterator.key()),
new Text("edge_info" + _kDelim +
fields[0] + _kDelim +
neighbors.get((String) neighIterator.key()) + _kDelim +
rwProbabilities.get(Constants._kContProb)));
}
}