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 thetitle
of theINodeFilterReason
.getNode()
Gets theINode
that has been filtered outdouble
boolean
void
setExtraInfo
(String extraInfo) void
void
setQuotient
(double qoutient)
-
Method Details
-
setQuotient
void setQuotient(double qoutient) Sets thequotient
ofpenalty points
of aINodeFilterReason
. Thequotient
weighspenalty points
againstantipenalty points
. If thequotient
has been surpassed, theNode
is being filtered out.- Parameters:
qoutient
- the double quotient
-
getQuotient
double getQuotient()Gets thequotient
ofpenalty points
of aINodeFilterReason
. Thequotient
weighspenalty points
againstantipenalty points
. If thequotient
has been surpassed, theNode
is being filtered out.- Returns:
- the quotient
-
getDescription
String getDescription()Gets thetitle
of theINodeFilterReason
.- Returns:
- the title of the NodeFilterReason
-
getNode
IOptimizationElement getNode()Gets theINode
that has been filtered out- Returns:
- the IOptimizationElement
-
setProtected
void setProtected() -
isProtected
boolean isProtected() -
setExtraInfo
-