public class NodeFilterReason extends Object implements INodeFilterReason
Constructor and Description |
---|
NodeFilterReason(String title,
IOptimizationElement element) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the
title of the INodeFilterReason . |
IOptimizationElement |
getNode()
Gets the
INode that has been filtered out |
double |
getQuotient()
|
boolean |
isProtected() |
void |
setExtraInfo(String extraInfo) |
void |
setProtected() |
void |
setQuotient(double qoutient)
|
String |
toString() |
public NodeFilterReason(String title, IOptimizationElement element)
public void setExtraInfo(String extraInfo)
setExtraInfo
in interface INodeFilterReason
public IOptimizationElement getNode()
INodeFilterReason
INode
that has been filtered outgetNode
in interface INodeFilterReason
public void setQuotient(double qoutient)
INodeFilterReason
quotient
of penalty points
of a INodeFilterReason
. The quotient
weighs penalty points
against antipenalty points
. If the quotient
has been surpassed, the Node
is being filtered out.setQuotient
in interface INodeFilterReason
qoutient
- the double quotientpublic double getQuotient()
INodeFilterReason
quotient
of penalty points
of a INodeFilterReason
. The quotient
weighs penalty points
against antipenalty points
. If the quotient
has been surpassed, the Node
is being filtered out.getQuotient
in interface INodeFilterReason
public String getDescription()
INodeFilterReason
title
of the INodeFilterReason
.getDescription
in interface INodeFilterReason
public void setProtected()
setProtected
in interface INodeFilterReason
public boolean isProtected()
isProtected
in interface INodeFilterReason
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.