Class RouteClusterController
java.lang.Object
com.dna.jopt.member.bucket.route.controller.cluster.RouteClusterController
- All Implemented Interfaces:
IClusterController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Copies the state of the controller.doublegetClusterAdvantage(com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider pprovider) intintvoidinvokeNode(ILogicEntityRoute route, INode node, com.dna.jopt.assessment.costassessor.EvaluatedNodeDataHolder nodeHolder, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider pprovider) voidsetClusterCounts(List<Integer> clusterCounts)
-
Constructor Details
-
RouteClusterController
public RouteClusterController()
-
-
Method Details
-
getClusterCounts
-
getClusterCount
public int getClusterCount()- Specified by:
getClusterCountin interfaceIClusterController
-
getCostMultiplierValue
public int getCostMultiplierValue()- Specified by:
getCostMultiplierValuein interfaceIClusterController
-
setClusterCounts
-
getClusterAdvantage
public double getClusterAdvantage(com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider pprovider) - Specified by:
getClusterAdvantagein interfaceIClusterController
-
invokeNode
public void invokeNode(ILogicEntityRoute route, INode node, com.dna.jopt.assessment.costassessor.EvaluatedNodeDataHolder nodeHolder, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider pprovider) - Specified by:
invokeNodein interfaceIClusterController
-
partialCopy
- Specified by:
partialCopyin interfaceIClusterController
-
copy
Copies the state of the controller. The copy gets its own list of cluster counts, so the counts of the copy and of this controller change independently (the values are immutable).- Specified by:
copyin interfaceIClusterController
-