|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagg.util.csp.Query
agg.xt_basis.Query_Source
public class Query_Source
Field Summary |
---|
Fields inherited from class agg.util.csp.Query |
---|
itsWeight, typeNameOfVariable |
Constructor Summary | |
---|---|
Query_Source(Variable arc,
Variable tar)
Construct myself to be a unary query for the source of arc . |
Method Summary | |
---|---|
java.util.Enumeration<?> |
execute()
Return an Enumeration of candidate values for the target variable. |
java.lang.String |
getKind()
Return the name of this class. |
int |
getSize()
Return the number of candidate values execute() will
provide. |
Methods inherited from class agg.util.csp.Query |
---|
activateCorrespondent, deactivateCorrespondent, getSource, getSourceInstance, getSources, getTarget, getWeight, isApplicable, isConstant, setCorrespondent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Query_Source(Variable arc, Variable tar)
arc
.
Method Detail |
---|
public final java.util.Enumeration<?> execute()
Query
Pre: isApplicable()
.
execute
in class Query
public final int getSize()
Query
execute()
will
provide. For non-constant queries, this will most probably be based on
estimation. The value may change in response to re-setting the CSP
domains with the setDomain()
method.
Pre: csp.getDomain() != null
.
getSize
in class Query
CSP.setDomain(java.lang.Object)
public final java.lang.String getKind()
getKind
in class Query
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |