Class TEdgeScale
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.agent.Transformation<T>
-
- eu.europa.ec.eurostat.jgiscotools.agent.TransformationCancellable<AEdge>
-
- eu.europa.ec.eurostat.jgiscotools.regionsimplify.TEdgeScale
-
public class TEdgeScale extends TransformationCancellable<AEdge>
Transformation to alter the length of a graph edge.- Author:
- julien Gaffuri
-
-
Constructor Summary
Constructors Constructor Description TEdgeScale(AEdge agent, double factor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply()
void
cancel()
boolean
isCancelable()
void
storeState()
-
Methods inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Transformation
getAgent, toString
-
-
-
-
Constructor Detail
-
TEdgeScale
public TEdgeScale(AEdge agent, double factor)
-
-
Method Detail
-
apply
public void apply()
- Specified by:
apply
in classTransformation<AEdge>
-
isCancelable
public boolean isCancelable()
- Overrides:
isCancelable
in classTransformationCancellable<AEdge>
-
storeState
public void storeState()
- Specified by:
storeState
in classTransformationCancellable<AEdge>
-
cancel
public void cancel()
- Specified by:
cancel
in classTransformationCancellable<AEdge>
-
-