public class IRLRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SADomain |
domain
The domain in which IRL is to be performed
|
protected java.util.List<Episode> |
expertEpisodes
The input trajectories/episodes that are to be modeled.
|
protected double |
gamma
The discount factor of the problem
|
protected Planner |
planner
The planning algorithm used to compute the policy for a given reward function
|
Constructor and Description |
---|
IRLRequest()
Values will not be initialized.
|
IRLRequest(SADomain domain,
Planner planner,
java.util.List<Episode> expertEpisodes)
Initializes.
|
Modifier and Type | Method and Description |
---|---|
SADomain |
getDomain() |
java.util.List<Episode> |
getExpertEpisodes() |
double |
getGamma() |
Planner |
getPlanner() |
boolean |
isValid()
Returns true if this request object has valid data members set; false otherwise.
|
void |
setDomain(SADomain d) |
void |
setExpertEpisodes(java.util.List<Episode> episodeList) |
void |
setGamma(double gamma) |
void |
setPlanner(Planner p) |
protected SADomain domain
protected Planner planner
protected java.util.List<Episode> expertEpisodes
protected double gamma
public IRLRequest()
public IRLRequest(SADomain domain, Planner planner, java.util.List<Episode> expertEpisodes)
domain
- the domain in which IRL is to be performedplanner
- the planning algorithm the IRL algorithm will invoke.expertEpisodes
- the example expert trajectories/episodes.public boolean isValid()
public void setDomain(SADomain d)
public void setPlanner(Planner p)
public void setExpertEpisodes(java.util.List<Episode> episodeList)
public void setGamma(double gamma)
public SADomain getDomain()
public Planner getPlanner()
public double getGamma()
public java.util.List<Episode> getExpertEpisodes()