Class ClusterFilterHelper
java.lang.Object
com.dna.jopt.member.unit.filter.auto.ClusterFilterHelper
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic INodeFilterReason
findCategory3Substitutes
(Map<IOptimizationElement, JointCluster> cat3NodesMap, List<JointCluster> allClusters, List<IOptimizationElement> alreadyValidated) static void
findDeputyKickNodes
(List<JointCluster> clusters, List<INode> orgKickNodesAspirants, int numDesiredDeputies) static Optional<List<JointCluster>>
getEffectiveClusters
(ILogicEntityRoute route, double radiusMeter) static Optional<List<JointCluster>>
getEffectiveClusters
(ILogicEntityRoute route, double radiusMeter, boolean useOnlyOptimizableNodes) static List<JointCluster>
substiteClusterNodeForCluster
(Map<IOptimizationElement, JointCluster> cat3NodesMap, List<JointCluster> allClusters) tryFindSingleClusters
(List<JointCluster> clusters, boolean filterForNonVisitDuration) static List<IOptimizationElement>
validateFilterNodes
(com.dna.jopt.assessment.costassessor.IEntityCostAssessor assessor, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider pp, IEntity ten, Map<ILogicEntityRoute, List<INode>> kicknodeAspirants2Routes, List<IOptimizationElement> kickNodesAspirants) static List<IOptimizationElement>
validateFilterNodesSingleRoute
(com.dna.jopt.assessment.costassessor.IEntityCostAssessor assessor, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider pp, IEntity ten, ILogicEntityRoute route, List<IOptimizationElement> kickNodesAspirants)
-
Field Details
-
MYREASON
- See Also:
-
FILTER_IDENT
- See Also:
-
-
Method Details
-
validateFilterNodes
public static List<IOptimizationElement> validateFilterNodes(com.dna.jopt.assessment.costassessor.IEntityCostAssessor assessor, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider pp, IEntity ten, Map<ILogicEntityRoute, List<INode>> kicknodeAspirants2Routes, List<IOptimizationElement> kickNodesAspirants) -
validateFilterNodesSingleRoute
public static List<IOptimizationElement> validateFilterNodesSingleRoute(com.dna.jopt.assessment.costassessor.IEntityCostAssessor assessor, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider pp, IEntity ten, ILogicEntityRoute route, List<IOptimizationElement> kickNodesAspirants) -
createSubstituteFilterReason
-
findCategory3Substitutes
public static List<INode> findCategory3Substitutes(Map<IOptimizationElement, JointCluster> cat3NodesMap, List<JointCluster> allClusters, List<IOptimizationElement> alreadyValidated) -
substiteClusterNodeForCluster
public static List<JointCluster> substiteClusterNodeForCluster(Map<IOptimizationElement, JointCluster> cat3NodesMap, List<JointCluster> allClusters) -
findDeputyKickNodes
public static void findDeputyKickNodes(List<JointCluster> clusters, List<INode> orgKickNodesAspirants, int numDesiredDeputies) -
tryFindSingleClusters
public static List<INode> tryFindSingleClusters(List<JointCluster> clusters, boolean filterForNonVisitDuration) -
getEffectiveClusters
public static Optional<List<JointCluster>> getEffectiveClusters(ILogicEntityRoute route, double radiusMeter) -
getEffectiveClusters
public static Optional<List<JointCluster>> getEffectiveClusters(ILogicEntityRoute route, double radiusMeter, boolean useOnlyOptimizableNodes)
-