public class NodeColorCapacityItem extends Object
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.Constructor and Description |
---|
NodeColorCapacityItem(INodeColor color,
double maxJoinableUsagePercent) |
Modifier and Type | Method and Description |
---|---|
INodeColor |
getColor() |
int |
getColorCode() |
double |
getMaxJoinableUsage() |
void |
setMaxJoinableUsage(double maxJoinableUsagePercent) |
String |
toString() |
public NodeColorCapacityItem(INodeColor color, double maxJoinableUsagePercent)
public int getColorCode()
public INodeColor getColor()
public double getMaxJoinableUsage()
public void setMaxJoinableUsage(double maxJoinableUsagePercent)
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.