Class CUnitOverlap
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.agent.Constraint<AUnit>
-
- eu.europa.ec.eurostat.jgiscotools.regionsimplify.CUnitOverlap
-
- All Implemented Interfaces:
Comparable<Constraint<?>>
public class CUnitOverlap extends Constraint<AUnit>
- Author:
- julien Gaffuri
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CUnitOverlap.Overlap
-
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 Modifier and Type Field Description static org.apache.logging.log4j.Logger
LOGGER
-
Fields inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Constraint
COMPARATOR_CONSTR, COMPARATOR_CONSTR_BY_SATISFACTION, satisfaction
-
-
Constructor Summary
Constructors Constructor Description CUnitOverlap(AUnit agent, org.locationtech.jts.index.SpatialIndex index)
-
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
-
CUnitOverlap
public CUnitOverlap(AUnit agent, org.locationtech.jts.index.SpatialIndex index)
-
-
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>
-
-