public abstract class FormulaTermCollection<V> extends TermCollection implements Creator, OriginatingTermCollection
EMPTY_TERM, parts
ADD, MOD, REM
Constructor and Description |
---|
FormulaTermCollection() |
Modifier and Type | Method and Description |
---|---|
void |
add(Formula origin) |
void |
addEndpointFunctions(com.ibm.bluej.util.common.IdentitySet<Updatable> ends,
boolean print) |
int |
compareTo(ATerm other) |
FormulaCreate |
create(Binds binds,
CRFState crfState) |
void |
drop() |
double |
getWeight() |
ATerm |
ground(Binds binds,
Function neededBy) |
boolean |
isGarbage() |
java.util.Iterator<ATerm> |
iterator() |
int |
size() |
void |
update(Function source,
java.lang.Object... msg) |
add, addAll, clear, containsAll, getValue, isEmpty, remove, removeAll, retainAll, toArray, toArray, valueClone, valueEquals, valueHash
addUsedBy, getUsedBy, ground, isFunctionFree, isReady, parserSetsFocusIndicator, toString, zzParserInitUsedBy
isGround
crossClassCompare, gatherTopFunctions, getBoolean, getCollection, getDouble, getInt, getSparseVector, getString, getTerm, getVector, mdjbFirst, mdjbNext, testRecursive
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addMember, removeMember
dropConditional
public double getWeight()
getWeight
in interface FormulaCreate
public int compareTo(ATerm other)
compareTo
in interface java.lang.Comparable<ATerm>
compareTo
in class CompositeTerm
public FormulaCreate create(Binds binds, CRFState crfState)
public void update(Function source, java.lang.Object... msg)
public void add(Formula origin)
add
in interface FormulaCreate
public void drop()
drop
in interface FormulaCreate
public boolean isGarbage()
isGarbage
in interface FormulaCreate
public java.util.Iterator<ATerm> iterator()
public int size()
size
in interface java.util.Collection<ATerm>
public void addEndpointFunctions(com.ibm.bluej.util.common.IdentitySet<Updatable> ends, boolean print)
addEndpointFunctions
in interface OriginatingTermCollection