Class Agent
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.agent.Agent
-
- Direct Known Subclasses:
AEdge
,AFace
,ATesselation
,AUnit
public abstract class Agent extends Object
- Author:
- julien Gaffuri
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.logging.log4j.Logger
LOGGER
protected double
satisfaction
static double
SATISFACTION_RESOLUTION
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
boolean
addConstraint(Constraint<?> c)
void
clear()
void
clearConstraints()
void
computeSatisfaction()
void
freeze()
Constraint<?>
getConstraint(Class<?> cl)
List<Constraint<?>>
getConstraints()
String
getId()
Object
getObject()
double
getSatisfaction()
List<Transformation<?>>
getTransformations()
boolean
isDeleted()
boolean
isFrozen()
boolean
isSatisfied()
boolean
removeConstraint(Constraint<?> c)
void
setDeleted(boolean v)
Agent
setId(String id)
String
toString()
void
unFreeze()
-
-
-
Constructor Detail
-
Agent
public Agent(Object object)
-
-
Method Detail
-
getId
public String getId()
-
isFrozen
public boolean isFrozen()
-
freeze
public void freeze()
-
unFreeze
public void unFreeze()
-
getObject
public Object getObject()
-
getConstraints
public List<Constraint<?>> getConstraints()
-
addConstraint
public boolean addConstraint(Constraint<?> c)
-
removeConstraint
public boolean removeConstraint(Constraint<?> c)
-
clearConstraints
public void clearConstraints()
-
getConstraint
public Constraint<?> getConstraint(Class<?> cl)
-
getSatisfaction
public double getSatisfaction()
-
isSatisfied
public boolean isSatisfied()
-
computeSatisfaction
public void computeSatisfaction()
-
isDeleted
public boolean isDeleted()
-
setDeleted
public void setDeleted(boolean v)
-
getTransformations
public List<Transformation<?>> getTransformations()
-
activate
public void activate()
-
clear
public void clear()
-
-