|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rlcommunity.rlglue.codec.taskspec.TaskSpecDelegate
org.rlcommunity.rlglue.codec.taskspec.TaskSpecVRLGLUE3
public class TaskSpecVRLGLUE3
The newest version of the Task Spec (Nov 1 2008).
Constructor Summary | |
---|---|
TaskSpecVRLGLUE3()
|
|
TaskSpecVRLGLUE3(java.lang.String taskSpecString)
Parse a task spec string. |
Method Summary | |
---|---|
void |
addContinuousAction(DoubleRange newDoubleRange)
|
void |
addContinuousObservation(DoubleRange newDoubleRange)
|
void |
addDiscreteAction(IntRange newIntRange)
|
void |
addDiscreteObservation(IntRange newIntRange)
|
DoubleRange |
getContinuousActionRange(int i)
|
DoubleRange |
getContinuousObservationRange(int i)
|
double |
getDiscountFactor()
|
IntRange |
getDiscreteActionRange(int i)
|
IntRange |
getDiscreteObservationRange(int i)
|
char |
getEpisodic()
Deprecated. Use getProblemType |
java.lang.String |
getExtraString()
|
int |
getNumContinuousActionDims()
|
int |
getNumContinuousObsDims()
|
int |
getNumDiscreteActionDims()
|
int |
getNumDiscreteObsDims()
|
java.lang.String |
getProblemType()
|
double |
getRewardMax()
Deprecated. Just get the range and ask that object this question. |
double |
getRewardMin()
Deprecated. Just get the range and ask that object this question. |
DoubleRange |
getRewardRange()
|
protected java.lang.String |
getStringRepresentation()
|
double |
getVersion()
|
java.lang.String |
getVersionString()
|
boolean |
isActionMaxPosInfinity(int index)
Deprecated. Just get the range and ask that object this question. |
boolean |
isActionMaxUnknown(int index)
Deprecated. Just get the range and ask that object this question. |
boolean |
isActionMinNegInfinity(int index)
Deprecated. Just get the range and ask that object this question. |
boolean |
isActionMinUnknown(int index)
Deprecated. Just get the range and ask that object this question. |
boolean |
isMaxRewardInf()
Deprecated. Just get the range and ask that object this question. |
boolean |
isMaxRewardUnknown()
Deprecated. Just get the range and ask that object this question. |
boolean |
isMinRewardNegInf()
Deprecated. Just get the range and ask that object this question. |
boolean |
isMinRewardUnknown()
Deprecated. Just get the range and ask that object this question. |
boolean |
isObsMaxPosInfinity(int index)
Deprecated. Just get the range and ask that object this question. |
boolean |
isObsMaxUnknown(int index)
Deprecated. Just get the range and ask that object this question. |
boolean |
isObsMinNegInfinity(int index)
Deprecated. Just get the range and ask that object this question. |
boolean |
isObsMinUnknown(int index)
Deprecated. Just get the range and ask that object this question. |
static void |
main(java.lang.String[] args)
|
void |
setActionCharLimit(int charLimit)
|
void |
setContinuing()
|
void |
setDiscountFactor(double discountFactor)
|
void |
setEpisodic()
|
void |
setExtra(java.lang.String extra)
|
void |
setObservationCharLimit(int charLimit)
|
void |
setProblemTypeCustom(java.lang.String customType)
|
void |
setRewardRange(DoubleRange newRewardRange)
|
java.lang.String |
toString()
Returns a person-friendly string version of the object. |
java.lang.String |
toTaskSpec()
Return a valid RLGLUEV3 task spec for this object. |
Methods inherited from class org.rlcommunity.rlglue.codec.taskspec.TaskSpecDelegate |
---|
dump, getActionDim, getActionMaxs, getActionMins, getActionTypes, getObsDim, getObsMaxs, getObsMins, getObsTypes, getParserVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskSpecVRLGLUE3()
public TaskSpecVRLGLUE3(java.lang.String taskSpecString)
taskSpecString
- Method Detail |
---|
public void setEpisodic()
public void setContinuing()
public void setProblemTypeCustom(java.lang.String customType)
public java.lang.String getProblemType()
public void setDiscountFactor(double discountFactor)
public void addDiscreteObservation(IntRange newIntRange)
public void addContinuousObservation(DoubleRange newDoubleRange)
public void setObservationCharLimit(int charLimit)
public void addDiscreteAction(IntRange newIntRange)
public void addContinuousAction(DoubleRange newDoubleRange)
public void setActionCharLimit(int charLimit)
public void setRewardRange(DoubleRange newRewardRange)
public void setExtra(java.lang.String extra)
public double getDiscountFactor()
public static void main(java.lang.String[] args)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toTaskSpec()
public DoubleRange getRewardRange()
getRewardRange
in class TaskSpecDelegate
public IntRange getDiscreteObservationRange(int i)
getDiscreteObservationRange
in class TaskSpecDelegate
public IntRange getDiscreteActionRange(int i)
getDiscreteActionRange
in class TaskSpecDelegate
public DoubleRange getContinuousObservationRange(int i)
getContinuousObservationRange
in class TaskSpecDelegate
public DoubleRange getContinuousActionRange(int i)
getContinuousActionRange
in class TaskSpecDelegate
protected java.lang.String getStringRepresentation()
getStringRepresentation
in class TaskSpecDelegate
TaskSpec.getStringRepresentation()
public boolean isObsMinNegInfinity(int index)
isObsMinNegInfinity
in class TaskSpecDelegate
TaskSpec.isObsMinNegInfinity(int index)
public boolean isActionMinNegInfinity(int index)
isActionMinNegInfinity
in class TaskSpecDelegate
TaskSpec.isActionMinNegInfinity(int index)
public boolean isObsMaxPosInfinity(int index)
isObsMaxPosInfinity
in class TaskSpecDelegate
TaskSpec.isObsMaxPosInfinity(int index)
public boolean isActionMaxPosInfinity(int index)
isActionMaxPosInfinity
in class TaskSpecDelegate
TaskSpec.isActionMaxPosInfinity(int index)
public boolean isObsMinUnknown(int index)
isObsMinUnknown
in class TaskSpecDelegate
TaskSpec.isObsMinUnknown(int index)
public boolean isObsMaxUnknown(int index)
isObsMaxUnknown
in class TaskSpecDelegate
TaskSpec.isObsMaxUnknown(int index)
public boolean isActionMinUnknown(int index)
isActionMinUnknown
in class TaskSpecDelegate
TaskSpec.isActionMinUnknown(int index)
public boolean isActionMaxUnknown(int index)
isActionMaxUnknown
in class TaskSpecDelegate
TaskSpec.isActionMaxUnknown(int index)
public boolean isMinRewardNegInf()
isMinRewardNegInf
in class TaskSpecDelegate
TaskSpec.isMinRewardNegInf()
public boolean isMaxRewardInf()
isMaxRewardInf
in class TaskSpecDelegate
TaskSpec.isMaxRewardInf()
public boolean isMinRewardUnknown()
isMinRewardUnknown
in class TaskSpecDelegate
TaskSpec.isMinRewardUnknown()
public boolean isMaxRewardUnknown()
isMaxRewardUnknown
in class TaskSpecDelegate
TaskSpec.isMaxRewardUnknown()
public double getVersion()
getVersion
in class TaskSpecDelegate
TaskSpec.getVersion()
public char getEpisodic()
getEpisodic
in class TaskSpecDelegate
TaskSpec.getEpisodic()
public java.lang.String getVersionString()
getVersionString
in class TaskSpecDelegate
TaskSpec.getVersionString()
public int getNumContinuousObsDims()
getNumContinuousObsDims
in class TaskSpecDelegate
TaskSpec.getNumContinuousObsDims()
public int getNumDiscreteObsDims()
getNumDiscreteObsDims
in class TaskSpecDelegate
TaskSpec.getNumDiscreteObsDims()
public int getNumDiscreteActionDims()
getNumDiscreteActionDims
in class TaskSpecDelegate
TaskSpec.getNumDiscreteActionDims()
public int getNumContinuousActionDims()
getNumContinuousActionDims
in class TaskSpecDelegate
TaskSpec.getNumContinuousActionDims()
public double getRewardMax()
getRewardMax
in class TaskSpecDelegate
TaskSpec.getRewardMax()
public double getRewardMin()
getRewardMin
in class TaskSpecDelegate
TaskSpec.getRewardMin()
public java.lang.String getExtraString()
getExtraString
in class TaskSpecDelegate
TaskSpec.getExtraString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |