Class Oracle
java.lang.Object
org.clafer.ontology.Oracle
-
Constructor Summary
ConstructorsConstructorDescriptionOracle(Relation<Concept> isA, Relation<Concept> hasA, ConstraintDatabase constraints, List<ConstraintDatabase[]> disjunctions) -
Method Summary
Modifier and TypeMethodDescriptiongetAssignment(Concept... steps) getAssignment(Path path) Returns the envelope of values the path must take.booleanbooleanvoidnewAssignment(Path path, Domain value) boolean
-
Constructor Details
-
Oracle
public Oracle(Relation<Concept> isA, Relation<Concept> hasA, ConstraintDatabase constraints, List<ConstraintDatabase[]> disjunctions)
-
-
Method Details
-
isA
-
hasA
-
getAssignment
-
getAssignment
Returns the envelope of values the path must take.- Parameters:
path-- Returns:
- the envelope of values the path must take, or null if unbounded
-
newAssignment
-
propagate
-