Class NodeColorCapacityItem
java.lang.Object
com.dna.jopt.member.unit.color.NodeColorCapacityItem
This class allows to limit the number of
Nodes of specific INodeColor that a Resource is
giving service to. This way can be made sure that Nodes with a certain Color are not
over-represented and can be used for white space generation.- Since:
- 23/09/2019
- Version:
- 23/09/2019
- Author:
- DNA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()intdoublevoidsetMaxJoinableUsage(double maxJoinableUsagePercent) toString()
-
Constructor Details
-
NodeColorCapacityItem
-
-
Method Details
-
getColorCode
public int getColorCode() -
getColor
-
getMaxJoinableUsage
public double getMaxJoinableUsage() -
setMaxJoinableUsage
public void setMaxJoinableUsage(double maxJoinableUsagePercent) -
toString
-