예제 #1
0
 public IEnumerable <KeyValuePair <MarkovNode <T>, double> > GetNextsWithProbabilities()
 {
     return(Nexts.Select(x => new KeyValuePair <MarkovNode <T>, double>(x.Key, (x.Value * 1.0 / Occurrence))).OrderByDescending(x => x.Value));
 }