public class OrientedCCS extends java.lang.Object implements CCSInterface
Constructor and Description |
---|
OrientedCCS(SolutionType type) |
Modifier and Type | Method and Description |
---|---|
void |
appendInterval(double lower,
double upper) |
Interval |
contains(double val) |
Interval |
getContainingInterval(double value) |
java.util.ArrayList<Interval> |
getIntervals() |
double |
getMax() |
double |
getMin() |
SolutionType |
getSolutionType() |
boolean |
isEmpty() |
java.lang.String |
toString() |
public OrientedCCS(SolutionType type)
public SolutionType getSolutionType()
public Interval contains(double val)
public java.util.ArrayList<Interval> getIntervals()
getIntervals
in interface CCSInterface
public double getMin()
getMin
in interface CCSInterface
public boolean isEmpty()
public double getMax()
getMax
in interface CCSInterface
public void appendInterval(double lower, double upper)
public Interval getContainingInterval(double value)
public java.lang.String toString()
toString
in class java.lang.Object