public class TechnicalSystemStateDeltaEvaluation.CostInterval
extends java.lang.Object
Constructor and Description |
---|
CostInterval(long timeStart,
long timeEnd,
double averageCost)
Instantiates a new cost interval.
|
Modifier and Type | Method and Description |
---|---|
double |
getAverageCost()
Gets the average cost.
|
long |
getTimeEnd()
Gets the time end.
|
long |
getTimeStart()
Gets the time start.
|
void |
setAverageCost(double averageCost)
Sets the average cost.
|
void |
setTimeEnd(long timeEnd)
Sets the time end.
|
void |
setTimeStart(long timeStart)
Sets the time start.
|
public CostInterval(long timeStart, long timeEnd, double averageCost)
timeStart
- the time starttimeEnd
- the time endaverageCost
- the average costpublic long getTimeStart()
public void setTimeStart(long timeStart)
timeStart
- the new time startpublic long getTimeEnd()
public void setTimeEnd(long timeEnd)
timeEnd
- the new time endpublic double getAverageCost()
public void setAverageCost(double averageCost)
averageCost
- the new average cost