Class CUnitValidity
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.agent.Constraint<AUnit>
-
- eu.europa.ec.eurostat.jgiscotools.regionsimplify.CUnitValidity
-
- All Implemented Interfaces:
Comparable<Constraint<?>>
public class CUnitValidity extends Constraint<AUnit>
- Author:
- julien Gaffuri
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Constraint
Constraint.ConstraintPriorityComparator<R extends Agent>, Constraint.ConstraintSatisfactionComparator<R extends Agent>
-
-
Field Summary
-
Fields inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Constraint
COMPARATOR_CONSTR, COMPARATOR_CONSTR_BY_SATISFACTION, satisfaction
-
-
Constructor Summary
Constructors Constructor Description CUnitValidity(AUnit agent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeCurrentValue()
void
computeSatisfaction()
String
getMessage()
-
Methods inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Constraint
clear, compareTo, computeGoalValue, computeInitialValue, getAgent, getImportance, getPriority, getSatisfaction, getTransformations, isHard, isSatisfied, setImportance, setPriority
-
-
-
-
Constructor Detail
-
CUnitValidity
public CUnitValidity(AUnit agent)
-
-
Method Detail
-
computeCurrentValue
public void computeCurrentValue()
- Overrides:
computeCurrentValue
in classConstraint<AUnit>
-
computeSatisfaction
public void computeSatisfaction()
- Specified by:
computeSatisfaction
in classConstraint<AUnit>
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classConstraint<AUnit>
-
-