Package jline.api.rl
Class GeneralSampleEvent
-
- All Implemented Interfaces:
public final class GeneralSampleEventContainer for a sampled event from the general RL environment.
-
-
Field Summary
Fields Modifier and Type Field Description private final Doubledtprivate final IntegerdepNodeprivate final IntegerarvNodeprivate final Ret.SampleResultsampleResult
-
Constructor Summary
Constructors Constructor Description GeneralSampleEvent(Double dt, Integer depNode, Integer arvNode, Ret.SampleResult sampleResult)
-
Method Summary
Modifier and Type Method Description final DoublegetDt()final IntegergetDepNode()final IntegergetArvNode()final Ret.SampleResultgetSampleResult()-
-
Constructor Detail
-
GeneralSampleEvent
GeneralSampleEvent(Double dt, Integer depNode, Integer arvNode, Ret.SampleResult sampleResult)
- Parameters:
dt- the elapsed time until the eventdepNode- the index of the node where a departure occurredarvNode- the index of the node where an arrival occurredsampleResult- the raw SSA sample result for state updates
-
-
Method Detail
-
getDepNode
final Integer getDepNode()
-
getArvNode
final Integer getArvNode()
-
getSampleResult
final Ret.SampleResult getSampleResult()
-
-
-
-