Class RepresentativeElectionConstraint
java.lang.Object
tools.refinery.interpreter.matchers.psystem.BasePConstraint
tools.refinery.interpreter.matchers.psystem.EnumerablePConstraint
tools.refinery.interpreter.matchers.psystem.KeyedEnumerablePConstraint<PQuery>
tools.refinery.interpreter.matchers.psystem.basicenumerables.RepresentativeElectionConstraint
- All Implemented Interfaces:
IMultiQueryReference,IQueryReference,ITypeInfoProviderConstraint,PConstraint,PTraceable
public class RepresentativeElectionConstraint
extends KeyedEnumerablePConstraint<PQuery>
implements IQueryReference, ITypeInfoProviderConstraint
-
Field Summary
Fields inherited from class tools.refinery.interpreter.matchers.psystem.KeyedEnumerablePConstraint
supplierKeyFields inherited from class tools.refinery.interpreter.matchers.psystem.EnumerablePConstraint
variablesTupleFields 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
ConstructorsConstructorDescriptionRepresentativeElectionConstraint(PBody pBody, Tuple variablesTuple, PQuery supplierKey, Connectivity connectivity) -
Method Summary
Modifier and TypeMethodDescriptiongetImpliedJudgements(IQueryMetaContext context) Returns type information implied by this constraint.protected StringMethods inherited from class tools.refinery.interpreter.matchers.psystem.KeyedEnumerablePConstraint
getSupplierKey, toStringRestRestMethods inherited from class tools.refinery.interpreter.matchers.psystem.EnumerablePConstraint
doReplaceVariable, getDeducedVariables, getVariableInTuple, getVariablesTuple, toStringRestMethods inherited from class tools.refinery.interpreter.matchers.psystem.BasePConstraint
checkSanity, delete, getAffectedVariables, getBody, getFunctionalDependencies, 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
getReferredQueriesMethods inherited from interface tools.refinery.interpreter.matchers.psystem.PConstraint
checkSanity, delete, getAffectedVariables, getBody, getDeducedVariables, getFunctionalDependencies, getMonotonousID, replaceVariable
-
Constructor Details
-
RepresentativeElectionConstraint
public RepresentativeElectionConstraint(PBody pBody, Tuple variablesTuple, PQuery supplierKey, Connectivity connectivity)
-
-
Method Details
-
getConnectivity
-
getReferredQuery
- Specified by:
getReferredQueryin interfaceIQueryReference
-
getImpliedJudgements
Description copied from interface:ITypeInfoProviderConstraintReturns type information implied by this constraint.- Specified by:
getImpliedJudgementsin interfaceITypeInfoProviderConstraint
-
keyToString
- Specified by:
keyToStringin classKeyedEnumerablePConstraint<PQuery>
-