Package owl.collections
Class ValuationTree.Node<E>
- java.lang.Object
-
- owl.collections.ValuationTree<E>
-
- owl.collections.ValuationTree.Node<E>
-
- Enclosing class:
- ValuationTree<E>
public static final class ValuationTree.Node<E> extends ValuationTree<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class owl.collections.ValuationTree
ValuationTree.Leaf<E>, ValuationTree.Node<E>
-
-
Field Summary
Fields Modifier and Type Field Description ValuationTree<E>falseChildValuationTree<E>trueChildintvariable
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Set<E>get(BitSet valuation)inthashCode()protected Map<E,ValuationSet>memoizedInverse(ValuationSetFactory factory, Map<ValuationTree<E>,Map<E,ValuationSet>> memoizedCalls)protected <T> ValuationTree<T>memoizedMap(Function<? super Set<E>,? extends Collection<? extends T>> mapper, Map<ValuationTree<E>,ValuationTree<T>> memoizedCalls)StringtoString()Set<E>values()
-
-
-
Field Detail
-
variable
public final int variable
-
trueChild
public final ValuationTree<E> trueChild
-
falseChild
public final ValuationTree<E> falseChild
-
-
Method Detail
-
values
public Set<E> values()
- Specified by:
valuesin classValuationTree<E>
-
memoizedMap
protected <T> ValuationTree<T> memoizedMap(Function<? super Set<E>,? extends Collection<? extends T>> mapper, Map<ValuationTree<E>,ValuationTree<T>> memoizedCalls)
- Specified by:
memoizedMapin classValuationTree<E>
-
memoizedInverse
protected Map<E,ValuationSet> memoizedInverse(ValuationSetFactory factory, Map<ValuationTree<E>,Map<E,ValuationSet>> memoizedCalls)
- Specified by:
memoizedInversein classValuationTree<E>
-
-