Interface INodeFilterReason
- All Known Implementing Classes:
NodeFilterReason
public interface INodeFilterReason
This interface provides methods to set a certain
quotient of penalty points, if
this threshold of a INodeFilterReason has been surpassed the Node can be filtered
out and put into another Route.- Since:
- 26/07/2018
- Version:
- 10/1/2010
- Author:
- DNA
-
Method Summary
Modifier and TypeMethodDescriptionGets thetitleof theINodeFilterReason.getNode()Gets theINodethat has been filtered outdoublebooleanvoidsetExtraInfo(String extraInfo) voidvoidsetQuotient(double qoutient)
-
Method Details
-
setQuotient
void setQuotient(double qoutient) Sets thequotientofpenalty pointsof aINodeFilterReason. Thequotientweighspenalty pointsagainstantipenalty points. If thequotienthas been surpassed, theNodeis being filtered out.- Parameters:
qoutient- the double quotient
-
getQuotient
double getQuotient()Gets thequotientofpenalty pointsof aINodeFilterReason. Thequotientweighspenalty pointsagainstantipenalty points. If thequotienthas been surpassed, theNodeis being filtered out.- Returns:
- the quotient
-
getDescription
String getDescription()Gets thetitleof theINodeFilterReason.- Returns:
- the title of the NodeFilterReason
-
getNode
IOptimizationElement getNode()Gets theINodethat has been filtered out- Returns:
- the IOptimizationElement
-
setProtected
void setProtected() -
isProtected
boolean isProtected() -
setExtraInfo
-
getExtraInfo
String getExtraInfo()
-