public interface IAutoFilterNodeConstraint extends Serializable
filter reasons. This can also be done on
node-level, to filter out a specific
|Modifier and Type||Method and Description|
Gets the threshold from the last run which usually is set to be lower, usually between 0.8 and 0.4.
Checks whether the
INodeFilterReason getFilterReason(INode element)
filter reasonwhy the
element- the node
constraint factorhas to reach in order to be filtered out.
Nodes are evaluated several times whether they are in a
constraint state or not.
factor of being in a
constraint state is calculated by number of evaluation divided by the times the
Node was in a
The value is usually between 0.99 and 0.8
The very last run of an
optimization should have as few problems as possible. This is why the
in the last run is lower in order to filter as many problematic
Nodes as possible.
boolean isInConstraintState(INode node, ILogicEntityRoute curRoute, IEntity en, com.dna.jopt.framework.inputplausibility.properties.IPropertyProvider provider)
Node) is in a
constraint stateby checking whether the costs from
constraintsare higher than 0.
Route in total has additional
costs for being late but is on time on a specific
isInConstraintState() would return
true on a not late
node- the iNode
curRoute- the iLogicEntityRoute
en- the iEntity
provider- the provider
average filteringis allowed for cases where the
Routehas problems but no single
Nodeis above the
Average filteringfilters the most problematic
Nodeeven tough it is not above the
Copyright © 2017–2022 DNA Evolutions GmbH. All rights reserved.