Class PatternMatchCounter
java.lang.Object
tools.refinery.interpreter.matchers.psystem.BasePConstraint
tools.refinery.interpreter.matchers.psystem.DeferredPConstraint
tools.refinery.interpreter.matchers.psystem.VariableDeferredPConstraint
tools.refinery.interpreter.matchers.psystem.basicdeferred.PatternCallBasedDeferred
tools.refinery.interpreter.matchers.psystem.basicdeferred.PatternMatchCounter
- All Implemented Interfaces:
IMultiQueryReference,IQueryReference,PConstraint,PTraceable
-
Field Summary
Fields inherited from class tools.refinery.interpreter.matchers.psystem.basicdeferred.PatternCallBasedDeferred
actualParametersTuple, queryFields inherited from class tools.refinery.interpreter.matchers.psystem.BasePConstraint
pBodyFields inherited from interface tools.refinery.interpreter.matchers.psystem.PConstraint
COMPARE_BY_MONOTONOUS_ID -
Constructor Summary
ConstructorsConstructorDescriptionPatternMatchCounter(PBody pBody, Tuple actualParametersTuple, PQuery query, PVariable resultVariable) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoDoReplaceVariables(PVariable obsolete, PVariable replacement) The set of variables whose potential values can be enumerated (once all non-deduced variables have known values).A (preferably minimal) cover of known functional dependencies between variables.protected StringMethods inherited from class tools.refinery.interpreter.matchers.psystem.basicdeferred.PatternCallBasedDeferred
checkSanity, doReplaceVariable, getActualParametersTuple, getDeferringVariables, getReferredQueryMethods inherited from class tools.refinery.interpreter.matchers.psystem.VariableDeferredPConstraint
isReadyAtMethods inherited from class tools.refinery.interpreter.matchers.psystem.BasePConstraint
delete, getAffectedVariables, getBody, getMonotonousID, getPSystem, replaceVariable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tools.refinery.interpreter.matchers.psystem.IQueryReference
getReferredQueries
-
Constructor Details
-
PatternMatchCounter
-
-
Method Details
-
getDeducedVariables
Description copied from interface:PConstraintThe set of variables whose potential values can be enumerated (once all non-deduced variables have known values). -
getFunctionalDependencies
Description copied from interface:PConstraintA (preferably minimal) cover of known functional dependencies between variables.- Specified by:
getFunctionalDependenciesin interfacePConstraint- Overrides:
getFunctionalDependenciesin classBasePConstraint- Returns:
- non-trivial functional dependencies in the form of {variables} --> {variables}, where dependencies with the same lhs are unified.
-
doDoReplaceVariables
- Specified by:
doDoReplaceVariablesin classPatternCallBasedDeferred
-
getCandidateQuantifiedVariables
- Specified by:
getCandidateQuantifiedVariablesin classPatternCallBasedDeferred
-
toStringRest
- Specified by:
toStringRestin classBasePConstraint
-
getResultVariable
-