Class CFaceValidity
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.agent.Constraint<AFace>
-
- eu.europa.ec.eurostat.jgiscotools.regionsimplify.CFaceValidity
-
- All Implemented Interfaces:
Comparable<Constraint<?>>
public class CFaceValidity extends Constraint<AFace>
Ensures that the face remain valid, that is its geometry is simple and valid, and it does not overlap any other face of the tesselation.- 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 CFaceValidity(AFace agent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeSatisfaction()
boolean
isHard()
-
Methods inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Constraint
clear, compareTo, computeCurrentValue, computeGoalValue, computeInitialValue, getAgent, getImportance, getMessage, getPriority, getSatisfaction, getTransformations, isSatisfied, setImportance, setPriority
-
-
-
-
Constructor Detail
-
CFaceValidity
public CFaceValidity(AFace agent)
-
-
Method Detail
-
computeSatisfaction
public void computeSatisfaction()
- Specified by:
computeSatisfaction
in classConstraint<AFace>
-
isHard
public boolean isHard()
- Overrides:
isHard
in classConstraint<AFace>
-
-