public final class ExpansionParameters
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static ExpansionParameters |
from(java.util.List<java.lang.Double> radiuses,
double circleStepSize,
double clusterDistance) |
|
double |
getCircleStepSize() |
|
double |
getClusterDistance() |
|
java.util.List<java.lang.Double> |
getRadiuses() |
|
int |
hashCode() |
|
static ExpansionParameters |
preset() |
|
java.lang.String |
toString() |
public static ExpansionParameters from(java.util.List<java.lang.Double> radiuses, double circleStepSize, double clusterDistance)
radiuses
- The various radius to check at from the center of an expansion.circleStepSize
- With what granularity to step the circumference of the circle.clusterDistance
- With what distance to cluster mineral/vespene in, this will be used for center of mass
calculation.public static ExpansionParameters preset()
public java.util.List<java.lang.Double> getRadiuses()
public double getCircleStepSize()
public double getClusterDistance()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017–2018 Ocraft Project. All rights reserved.