public class TransportationPlan extends DefaultPlan
Plan.EndState| Modifier and Type | Field and Description |
|---|---|
static double |
MAX_TIME_TAKEN |
planBodyClassmetadata| Constructor and Description |
|---|
TransportationPlan(java.lang.String id,
double crashProbability,
double beingRobbedProbability,
boolean costConstant,
double cost,
double comfort,
int minTime,
int maxTime) |
| Modifier and Type | Method and Description |
|---|---|
double |
getBeingRobbedProbability() |
double |
getComfort() |
double |
getCost() |
double |
getCrashProbability() |
int |
getMaxTime() |
int |
getMinTime() |
boolean |
isCostConstant() |
createPlanBody, getPlanBodyClassaddGoalTemplate, addMessageTemplate, canAchieve, canProcess, equals, getGoalTemplates, getId, getMessageTemplates, getPlanLibrary, hashCode, initGoalTemplates, initMessageTemplates, isContextApplicable, setPlanLibrary, toStringgetMetadata, getMetadata, hasMetadata, putMetadata, removeMetadataclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetMetadata, getMetadata, hasMetadata, putMetadata, removeMetadatapublic static final double MAX_TIME_TAKEN
public TransportationPlan(java.lang.String id,
double crashProbability,
double beingRobbedProbability,
boolean costConstant,
double cost,
double comfort,
int minTime,
int maxTime)
public double getBeingRobbedProbability()
public double getComfort()
public double getCost()
public double getCrashProbability()
public int getMaxTime()
public int getMinTime()
public boolean isCostConstant()