public class CountMap<T extends SequenceElement> extends Object
| Constructor and Description |
|---|
CountMap() |
| Modifier and Type | Method and Description |
|---|---|
double |
getCount(org.nd4j.linalg.primitives.Pair<T,T> pair) |
double |
getCount(T element1,
T element2) |
Iterator<org.nd4j.linalg.primitives.Pair<T,T>> |
getPairIterator() |
void |
incrementCount(T element1,
T element2,
double weight) |
void |
removePair(org.nd4j.linalg.primitives.Pair<T,T> pair) |
void |
removePair(T element1,
T element2) |
int |
size() |
Copyright © 2018. All rights reserved.