-
- All Implemented Interfaces:
-
it.unibo.alchemist.loader.variables.Variable
,java.io.Serializable
,java.lang.Iterable
public final class GeometricVariable extends PrintableVariable<V>
A variable ranging geometrically (exponentially) in a range. Ideal for log-scale comparisons. e.g. a GeometricVariable with minimum = 1, maximum = 100 and samples = 5 will range over [1, ~3.16, 10, ~31.62 100]. Both min and max must be strictly bigger than 0.
-
-
Constructor Summary
Constructors Constructor Description GeometricVariable(double def, double min, double max, int samples)
-
Method Summary
-
Methods inherited from class it.unibo.alchemist.loader.variables.Variable
iterator, steps
-
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-