public class AllTop<V> extends java.lang.Object implements EdgeFunction<V>
Modifier and Type | Method and Description |
---|---|
EdgeFunction<V> |
composeWith(EdgeFunction<V> secondFunction)
Composes this function with the secondFunction, effectively returning
a summary function that maps sources to targets exactly as if
first this function had been applied and then the secondFunction.
|
V |
computeTarget(V source)
Computes the value resulting from applying this function to source.
|
boolean |
equalTo(EdgeFunction<V> other)
Returns true is this function represents exactly the same
source to target mapping as other.
|
EdgeFunction<V> |
joinWith(EdgeFunction<V> otherFunction)
Returns a function that represents that (element-wise) join
of this function with otherFunction.
|
java.lang.String |
toString() |
public AllTop(V topElement)
public V computeTarget(V source)
EdgeFunction
computeTarget
in interface EdgeFunction<V>
public EdgeFunction<V> composeWith(EdgeFunction<V> secondFunction)
EdgeFunction
composeWith
in interface EdgeFunction<V>
public EdgeFunction<V> joinWith(EdgeFunction<V> otherFunction)
EdgeFunction
joinWith
in interface EdgeFunction<V>
JoinLattice.join(Object, Object)
public boolean equalTo(EdgeFunction<V> other)
EdgeFunction
equalTo
in interface EdgeFunction<V>
public java.lang.String toString()
toString
in class java.lang.Object