public class InversedRelation extends Relation
Modifier and Type | Field and Description |
---|---|
protected Relation |
rel
Relation that is the opposite.
|
constraints, probabilityRelation
Constructor and Description |
---|
InversedRelation(Relation rel) |
Modifier and Type | Method and Description |
---|---|
java.util.List<parsebionet.biodata.BioEntity> |
getInvolvedEntities() |
boolean |
isTrue(java.util.Map<parsebionet.biodata.BioEntity,Constraint> simpleConstraints)
Return the opposite of the isTrue function of rel.
|
protected void |
makeConstraints()
Creates the constraints corresponding to the relation.
|
java.lang.Object |
runThrough(Bind b)
Only used when interaction are in the solver.
|
java.lang.String |
toString() |
createConstraints, isProbabilityRelation, setProbabilityRelation
protected Relation rel
public InversedRelation(Relation rel)
public boolean isTrue(java.util.Map<parsebionet.biodata.BioEntity,Constraint> simpleConstraints)
public java.lang.Object runThrough(Bind b)
in this case, this class must be extended.
runThrough
in class Relation
b
- The bind to get the data from.protected void makeConstraints()
Relation
makeConstraints
in class Relation
public java.util.List<parsebionet.biodata.BioEntity> getInvolvedEntities()
getInvolvedEntities
in class Relation