public abstract class Relation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<Constraint> |
constraints
Constraints corresponding to the relation.
|
protected boolean |
probabilityRelation |
Constructor and Description |
---|
Relation() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Constraint> |
createConstraints()
Used when interaction are not in the solver
|
abstract java.util.List<parsebionet.biodata.BioEntity> |
getInvolvedEntities() |
boolean |
isProbabilityRelation() |
abstract boolean |
isTrue(java.util.Map<parsebionet.biodata.BioEntity,Constraint> simpleConstraints) |
protected abstract void |
makeConstraints()
Creates the constraints corresponding to the relation.
|
abstract java.lang.Object |
runThrough(Bind b)
Used when interactions are in the solver.
|
void |
setProbabilityRelation(boolean proba) |
abstract java.lang.String |
toString() |
protected boolean probabilityRelation
java.util.List<Constraint> constraints
Used when interaction are not in the solver
public abstract java.lang.Object runThrough(Bind b)
b
- The bind to get the data from.public abstract java.lang.String toString()
toString
in class java.lang.Object
public abstract boolean isTrue(java.util.Map<parsebionet.biodata.BioEntity,Constraint> simpleConstraints)
simpleConstraints
- Constraints to add before checking the relation.public java.util.List<Constraint> createConstraints()
protected abstract void makeConstraints()
public boolean isProbabilityRelation()
public void setProbabilityRelation(boolean proba)
public abstract java.util.List<parsebionet.biodata.BioEntity> getInvolvedEntities()