Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractSpartanModel<SpartanModelConfigType> - Class in org.spartan.internal.engine.model
-
Abstract base for SpartanModel with FFM memory management and Zero-GC tick().
- AbstractSpartanModel(String, long, SpartanModelConfigType, SpartanContext, Arena, long, long, int) - Constructor for class org.spartan.internal.engine.model.AbstractSpartanModel
- accumulatedTickReward - Variable in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- accumulatedTickReward - Variable in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- accumulatedTickReward - Variable in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- accumulatedTickReward - Variable in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- actionCount - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- actionOutputBuffer - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- actorHiddenLayerCount() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
actorHiddenLayerCountrecord component. - actorHiddenLayerCount() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
actorHiddenLayerCountrecord component. - actorHiddenLayerNeuronCount() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
actorHiddenLayerNeuronCountrecord component. - actorHiddenNeuronCount() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
actorHiddenNeuronCountrecord component. - addAgent(String, ConfigType) - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- addElement(SpartanContextElement, int) - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- AE_BOTTLENECK_REG_WEIGHT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- AE_CONFIG_TOTAL_SIZE - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- AE_CONFIG_TOTAL_SIZE_PADDED - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- AE_DECODER_LAYER_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- AE_ENCODER_HIDDEN_NEURON_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- AE_ENCODER_LAYER_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- AE_LATENT_DIM_SIZE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- agentIdentifier - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- allocateActionOutputBuffer(Arena, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates a buffer for action outputs.
- allocateContextBuffer(Arena, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates a buffer for context data (doubles).
- allocateCriticWeightsBuffer(long, Arena) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates a buffer for critic weights with explicit count.
- allocateDoubles(Arena, long) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates a generic buffer of doubles with SIMD padding and alignment.
- allocateModelWeightsBuffer(long, Arena) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates a buffer for model weights with explicit count.
- alphaLearningRate() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
alphaLearningRaterecord component. - applyReward(double) - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- applyReward(double) - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- applyReward(double) - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- applyReward(double) - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- applyReward(double) - Method in class org.spartan.internal.engine.SpartanModelImpl
- applyRewards(double[]) - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- arena - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- AutoEncoderCompressorConfigImpl - Record Class in org.spartan.internal.engine.config
- AutoEncoderCompressorConfigImpl(double, double, double, double, double, boolean, boolean, int, int, int, int, double) - Constructor for record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Creates an instance of a
AutoEncoderCompressorConfigImplrecord class. - AutoEncoderCompressorModelImpl - Class in org.spartan.internal.engine.model
-
Concrete implementation of AutoEncoder Compressor model.
- AutoEncoderCompressorModelImpl(String, long, AutoEncoderCompressorConfig, SpartanContext, Arena, SpartanActionManager) - Constructor for class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
B
- BASE_ACTION_SIZE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_CONFIG_SIZE - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_DEBUG_LOGGING_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_EPSILON_DECAY_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_EPSILON_MIN_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_EPSILON_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_GAMMA_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_IS_TRAINING_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_LAYOUT_SIGNATURE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_LEARNING_RATE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_MODEL_TYPE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- BASE_STATE_SIZE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- bottleneckRegularisationWeight() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
bottleneckRegularisationWeightrecord component.
C
- calculateAutoEncoderCriticWeightCount() - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
AutoEncoder doesn't have separate critic weights.
- calculateAutoEncoderModelWeightCount(AutoEncoderCompressorConfig, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Calculates the total weight count for an AutoEncoder model.
- calculateAutoEncoderWeightCount(int, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Calculates the weight count for an AutoEncoder (encoder + decoder).
- calculateCuriosityDrivenRecurrentSoftActorCriticCriticWeightCount(CuriosityDrivenRecurrentSoftActorCriticConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Calculates the total weight count for the critic buffer in a Curiosity-Driven RSAC.
- calculateCuriosityDrivenRecurrentSoftActorCriticModelWeightCount(CuriosityDrivenRecurrentSoftActorCriticConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Calculates the total weight count for the model (actor) weights in a Curiosity-Driven RSAC.
- calculateDDQNCriticWeightCount() - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
DDQN doesn't have separate critic weights - uses same buffer as model.
- calculateDDQNModelWeightCount(DoubleDeepQNetworkConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Calculates the total weight count for a DDQN model.
- calculateProximalPolicyOptimizationCriticWeightCount(ProximalPolicyOptimizationConfig, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
- calculateProximalPolicyOptimizationModelWeightCount(ProximalPolicyOptimizationConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
- calculateRSACCriticWeightCount(RecurrentSoftActorCriticConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Calculates the total weight count for RSAC critic buffer.
- calculateRSACModelWeightCount(RecurrentSoftActorCriticConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Calculates the total weight count for an RSAC model's actor network.
- clipRange() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
clipRangerecord component. - close() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- close() - Method in class org.spartan.internal.engine.SpartanModelImpl
- close() - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
-
Unregisters from C++ and releases resources.
- close() - Method in class org.spartan.internal.facade.SpartanApiImpl
- config - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- configSegment - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- context - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- copy(String) - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- copy(String) - Method in class org.spartan.internal.engine.SpartanModelImpl
- createActionManager() - Method in class org.spartan.internal.facade.SpartanApiImpl
- createApi() - Method in class org.spartan.internal.spi.SpartanApiProviderImpl
- createAutoEncoderCompressor(String, AutoEncoderCompressorConfig, SpartanContext, SpartanActionManager) - Method in class org.spartan.internal.facade.SpartanApiImpl
- createAutoEncoderCompressorConfig(double, double, double, double, double, boolean, boolean, int, int, int, int, double) - Method in class org.spartan.internal.engine.config.spi.SpartanConfigFactoryServiceProviderImpl
- createContext(String) - Method in class org.spartan.internal.facade.SpartanApiImpl
- createCuriosityDrivenRecurrentSoftActorCritic(String, CuriosityDrivenRecurrentSoftActorCriticConfig, SpartanContext, SpartanActionManager) - Method in class org.spartan.internal.facade.SpartanApiImpl
- createCuriosityDrivenRecurrentSoftActorCriticConfig(RecurrentSoftActorCriticConfig, int, double, double, double, double, int, double, double) - Method in class org.spartan.internal.engine.config.spi.SpartanConfigFactoryServiceProviderImpl
- createDoubleDeepQNetwork(String, DoubleDeepQNetworkConfig, SpartanContext, SpartanActionManager) - Method in class org.spartan.internal.facade.SpartanApiImpl
- createDoubleDeepQNetworkConfig(double, double, double, double, double, boolean, boolean, int, int, int, int, int) - Method in class org.spartan.internal.engine.config.spi.SpartanConfigFactoryServiceProviderImpl
- createModel(String, SpartanModelConfigType, SpartanContext, SpartanActionManager) - Method in class org.spartan.internal.facade.SpartanApiImpl
- createMultiAgentGroupConfig(double, double, double, double, double, boolean, boolean, int) - Method in class org.spartan.internal.engine.config.spi.SpartanConfigFactoryServiceProviderImpl
- createMultiAgentModel(String, SpartanMultiAgentGroupConfig, SpartanContext, SpartanActionManager) - Method in class org.spartan.internal.facade.SpartanApiImpl
- createMultiAgentModel(String, SpartanContext, SpartanActionManager) - Method in class org.spartan.internal.facade.SpartanApiImpl
- createProximalPolicyOptimizationConfig(double, double, double, double, double, boolean, boolean, int, int, int, int, int, int, int, double, double, double, double, double, double) - Method in class org.spartan.internal.engine.config.spi.SpartanConfigFactoryServiceProviderImpl
- createProximalPolicyOptimizationModel(String, ProximalPolicyOptimizationConfig, SpartanContext, SpartanActionManager) - Method in class org.spartan.internal.facade.SpartanApiImpl
- createRecurrentSoftActorCritic(String, RecurrentSoftActorCriticConfig, SpartanContext, SpartanActionManager) - Method in class org.spartan.internal.facade.SpartanApiImpl
- createRecurrentSoftActorCriticConfig(double, double, double, double, double, boolean, boolean, int, int, int, int, int, int, double, double, double, double, double, int, int, double, double, double, double, int) - Method in class org.spartan.internal.engine.config.spi.SpartanConfigFactoryServiceProviderImpl
- criticHiddenLayerCount() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
criticHiddenLayerCountrecord component. - criticHiddenLayerCount() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
criticHiddenLayerCountrecord component. - criticHiddenLayerNeuronCount() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
criticHiddenLayerNeuronCountrecord component. - criticHiddenNeuronCount() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
criticHiddenNeuronCountrecord component. - CURIOSITY_RSAC_CONFIG_TOTAL_SIZE - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
-
Total byte size of Curiosity-Driven RSAC config: 432 (RSAC) + 64 (curiosity fields) = 496 bytes
- CURIOSITY_RSAC_CONFIG_TOTAL_SIZE_PADDED - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
-
Total size padded to 64 bytes (allocator writes this much to satisfy AVX alignment).
- CURIOSITY_RSAC_EMBEDDED_RSAC_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- CURIOSITY_RSAC_FORWARD_DYNAMICS_HIDDEN_SIZE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- CURIOSITY_RSAC_FORWARD_DYNAMICS_LEARNING_RATE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- CURIOSITY_RSAC_INTRINSIC_REWARD_CLAMPING_MAXIMUM_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- CURIOSITY_RSAC_INTRINSIC_REWARD_CLAMPING_MINIMUM_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- CURIOSITY_RSAC_INTRINSIC_REWARD_SCALE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- CURIOSITY_RSAC_INVERSE_DYNAMICS_HIDDEN_SIZE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- CURIOSITY_RSAC_INVERSE_DYNAMICS_LEARNING_RATE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- CURIOSITY_RSAC_INVERSE_LOSS_WEIGHT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- CuriosityDrivenRecurrentSoftActorCriticConfigImpl - Record Class in org.spartan.internal.engine.config
- CuriosityDrivenRecurrentSoftActorCriticConfigImpl(RecurrentSoftActorCriticConfig, int, double, double, double, double, int, double, double) - Constructor for record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Creates an instance of a
CuriosityDrivenRecurrentSoftActorCriticConfigImplrecord class. - CuriosityDrivenRecurrentSoftActorCriticModelImpl - Class in org.spartan.internal.engine.model
-
Concrete implementation of Curiosity-Driven Recurrent Soft Actor-Critic model.
- CuriosityDrivenRecurrentSoftActorCriticModelImpl(String, long, CuriosityDrivenRecurrentSoftActorCriticConfig, SpartanContext, Arena, SpartanActionManager) - Constructor for class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
-
Constructs a Curiosity-Driven RSAC model with all necessary allocations.
D
- DDQN_CONFIG_TOTAL_SIZE - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- DDQN_CONFIG_TOTAL_SIZE_PADDED - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- DDQN_HIDDEN_LAYER_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- DDQN_HIDDEN_NEURON_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- DDQN_REPLAY_BATCH_SIZE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- DDQN_REPLAY_BUFFER_CAPACITY_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- DDQN_TARGET_SYNC_INTERVAL_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- debugLogging() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
debugLoggingrecord component. - debugLogging() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
debugLoggingrecord component. - debugLogging() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
debugLoggingrecord component. - debugLogging() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
debugLoggingrecord component. - debugLogging() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns the value of the
debugLoggingrecord component. - decayExploration() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- decayExploration() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
-
AutoEncoder compressor doesn't have exploration, so this is a no-op.
- decayExploration() - Method in class org.spartan.internal.engine.SpartanModelImpl
- decayExplorationForAll() - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- decoderLayerCount() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
decoderLayerCountrecord component. - DoubleDeepQNetworkConfigImpl - Record Class in org.spartan.internal.engine.config
- DoubleDeepQNetworkConfigImpl(double, double, double, double, double, boolean, boolean, int, int, int, int, int) - Constructor for record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Creates an instance of a
DoubleDeepQNetworkConfigImplrecord class. - DoubleDeepQNetworkModelImpl - Class in org.spartan.internal.engine.model
-
Concrete implementation of Double Deep Q-Network (DDQN) model.
- DoubleDeepQNetworkModelImpl(String, long, DoubleDeepQNetworkConfig, SpartanContext, Arena, SpartanActionManager) - Constructor for class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
-
Constructs a Double DQN model with all necessary allocations.
E
- encoderHiddenNeuronCount() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
encoderHiddenNeuronCountrecord component. - encoderLayerCount() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
encoderLayerCountrecord component. - entropyCoefficient() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
entropyCoefficientrecord component. - entropyTemperatureAlpha() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
entropyTemperatureAlpharecord component. - episodeReward - Variable in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- episodeReward - Variable in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- episodeReward - Variable in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- episodeReward - Variable in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- epsilon() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
epsilonrecord component. - epsilon() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
epsilonrecord component. - epsilon() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
epsilonrecord component. - epsilon() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
epsilonrecord component. - epsilon() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns the value of the
epsilonrecord component. - epsilonDecay() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
epsilonDecayrecord component. - epsilonDecay() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
epsilonDecayrecord component. - epsilonDecay() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
epsilonDecayrecord component. - epsilonDecay() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
epsilonDecayrecord component. - epsilonDecay() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns the value of the
epsilonDecayrecord component. - epsilonMin() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
epsilonMinrecord component. - epsilonMin() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
epsilonMinrecord component. - epsilonMin() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
epsilonMinrecord component. - epsilonMin() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
epsilonMinrecord component. - epsilonMin() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns the value of the
epsilonMinrecord component. - equals(Object) - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Indicates whether some other object is "equal to" this one.
- executeNativeTick(double) - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
F
- firstCriticLearningRate() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
firstCriticLearningRaterecord component. - forwardDynamicsHiddenLayerDimensionSize() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns the value of the
forwardDynamicsHiddenLayerDimensionSizerecord component. - forwardDynamicsLearningRate() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns the value of the
forwardDynamicsLearningRaterecord component.
G
- gaeGamma() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
gaeGammarecord component. - gaeLambda() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
gaeLambdarecord component. - gamma() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
gammarecord component. - gamma() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
gammarecord component. - gamma() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
gammarecord component. - gamma() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
gammarecord component. - gamma() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns the value of the
gammarecord component. - getActionManager() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- getActionManager() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- getActionManager() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- getActionManager() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- getActionManager() - Method in class org.spartan.internal.engine.SpartanModelImpl
- getActionOutputBuffer() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- getActionOutputBuffer() - Method in class org.spartan.internal.engine.SpartanModelImpl
- getActions() - Method in class org.spartan.internal.engine.action.SpartanActionManagerImpl
- getActionsByIdentifier(String) - Method in class org.spartan.internal.engine.action.SpartanActionManagerImpl
- getActionsByType(Class) - Method in class org.spartan.internal.engine.action.SpartanActionManagerImpl
- getAgent(long) - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- getAgentByIdentifier(String) - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- getAgentCount() - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- getAgentIdentifier() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- getAgentIdentifier() - Method in class org.spartan.internal.engine.SpartanModelImpl
- getAndResetEpisodeReward() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- getArena() - Method in class org.spartan.internal.engine.context.SpartanContextImpl
-
Internal: Get the Arena used by this context.
- getBestActionIndex() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
-
Returns the index of the action with highest Q-value (greedy action).
- getContext() - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- getCriticWeightsBuffer() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- getCriticWeightsBuffer() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- getCriticWeightsBuffer() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- getCriticWeightsBuffer() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- getCriticWeightsBuffer() - Method in class org.spartan.internal.engine.SpartanModelImpl
- getCriticWeightsBufferInternal() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- getCriticWeightsBufferInternal() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- getCriticWeightsBufferInternal() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- getCriticWeightsBufferInternal() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- getCriticWeightsBufferInternal() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- getCriticWeightsBufferInternal() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- getCriticWeightsCount() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- getCriticWeightsCount() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- getCriticWeightsCount() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- getCriticWeightsCount() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- getCriticWeightsCount() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- getCriticWeightsCount() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- getData() - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- getElementByIdentifier(String) - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- getElements() - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- getElementsOfType(Class) - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- getEmbeddedRecurrentSoftActorCriticConfig() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- getEpisodeReward() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- getEpisodeReward() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- getEpisodeReward() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- getEpisodeReward() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- getEpisodeReward() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- getEpisodeReward() - Method in class org.spartan.internal.engine.SpartanModelImpl
- getIdentifier() - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- getIdentifier() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- getIdentifier() - Method in class org.spartan.internal.engine.SpartanModelImpl
- getLatentBuffer() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- getLayoutSignature() - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
- getModelType() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
-
Returns the model type for this instance.
- getModelType() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- getModelType() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- getModelType() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- getModelType() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- getModelType() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- getModelWeightsBuffer() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- getModelWeightsBuffer() - Method in class org.spartan.internal.engine.SpartanModelImpl
- getReconstructionBuffer() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- getReconstructionLoss() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- getSize() - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- getSpartanContext() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- getSpartanContext() - Method in class org.spartan.internal.engine.SpartanModelImpl
- getSpartanModelConfig() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- getSpartanModelConfig() - Method in class org.spartan.internal.engine.SpartanModelImpl
H
- hashCode() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns a hash code value for this object.
- hiddenLayerCount() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
hiddenLayerCountrecord component. - hiddenLayerNeuronCount() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
hiddenLayerNeuronCountrecord component. - hiddenStateSize() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
hiddenStateSizerecord component.
I
- identifier - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- intrinsicRewardClampingMaximum() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns the value of the
intrinsicRewardClampingMaximumrecord component. - intrinsicRewardClampingMinimum() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns the value of the
intrinsicRewardClampingMinimumrecord component. - intrinsicRewardScale() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns the value of the
intrinsicRewardScalerecord component. - inverseDynamicsHiddenLayerDimensionSize() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns the value of the
inverseDynamicsHiddenLayerDimensionSizerecord component. - inverseDynamicsLearningRate() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns the value of the
inverseDynamicsLearningRaterecord component. - inverseLossWeight() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns the value of the
inverseLossWeightrecord component. - isRegistered() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- isRegistered() - Method in class org.spartan.internal.engine.SpartanModelImpl
- isRegistered() - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- isTraining() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
isTrainingrecord component. - isTraining() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
isTrainingrecord component. - isTraining() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
isTrainingrecord component. - isTraining() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
isTrainingrecord component. - isTraining() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns the value of the
isTrainingrecord component.
L
- latentDimensionSize() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
latentDimensionSizerecord component. - learningRate() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns the value of the
learningRaterecord component. - learningRate() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
learningRaterecord component. - learningRate() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
learningRaterecord component. - learningRate() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
learningRaterecord component. - learningRate() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns the value of the
learningRaterecord component. - load(Path) - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- loadModel(Path) - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- loadModel(Path) - Method in class org.spartan.internal.engine.SpartanModelImpl
M
- MAX_NESTED_ENCODER_SLOTS - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- maxAgents() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns the value of the
maxAgentsrecord component. - maxGradientNorm() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
maxGradientNormrecord component. - miniBatchSize() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
miniBatchSizerecord component. - modelType() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
- modelWeightsBuffer - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- modelWeightsCount - Variable in class org.spartan.internal.engine.model.AbstractSpartanModel
- MULTI_AGENT_CONFIG_TOTAL_SIZE - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- MULTI_AGENT_CONFIG_TOTAL_SIZE_PADDED - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- MULTI_AGENT_MAX_AGENTS_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
O
- org.spartan.internal.bridge - package org.spartan.internal.bridge
- org.spartan.internal.engine - package org.spartan.internal.engine
- org.spartan.internal.engine.action - package org.spartan.internal.engine.action
- org.spartan.internal.engine.config - package org.spartan.internal.engine.config
- org.spartan.internal.engine.config.spi - package org.spartan.internal.engine.config.spi
- org.spartan.internal.engine.context - package org.spartan.internal.engine.context
- org.spartan.internal.engine.model - package org.spartan.internal.engine.model
- org.spartan.internal.facade - package org.spartan.internal.facade
- org.spartan.internal.spi - package org.spartan.internal.spi
P
- policyNetworkLearningRate() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
policyNetworkLearningRaterecord component. - postTickActions() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- postTickActions() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- postTickActions() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- postTickActions() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- postTickActions() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- PPO_ACTOR_HIDDEN_LAYER_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_ACTOR_HIDDEN_NEURON_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_CLIP_RANGE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_CONFIG_TOTAL_SIZE - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_CONFIG_TOTAL_SIZE_PADDED - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_CRITIC_HIDDEN_LAYER_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_CRITIC_HIDDEN_NEURON_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_ENTROPY_COEFFICIENT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_GAE_GAMMA_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_GAE_LAMBDA_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_MAX_GRADIENT_NORM_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_MINI_BATCH_SIZE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_TRAINING_EPOCH_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_TRAJECTORY_BUFFER_CAPACITY_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- PPO_VALUE_LOSS_COEFFICIENT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- ProximalPolicyOptimizationConfigImpl - Record Class in org.spartan.internal.engine.config
- ProximalPolicyOptimizationConfigImpl(double, double, double, double, double, boolean, boolean, int, int, int, int, int, int, int, double, double, double, double, double, double) - Constructor for record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Creates an instance of a
ProximalPolicyOptimizationConfigImplrecord class. - ProximalPolicyOptimizationSpartanModelImpl - Class in org.spartan.internal.engine.model
-
PPO implementation using FFM for zero-copy memory bridging with the C++ engine.
- ProximalPolicyOptimizationSpartanModelImpl(String, long, ProximalPolicyOptimizationConfig, SpartanContext, SpartanActionManager, Arena) - Constructor for class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
R
- readActionValue(int) - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
-
Reads a single action value from the action output buffer.
- readActionValue(int) - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- readActionValue(int) - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
-
Reads the predicted action values from the action output buffer.
- readAllActionValues() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
-
Reads all predicted action values.
- readAllActionValues() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- readAllActionValues() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
-
Reads all predicted action values.
- readAllLatent() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- readAllQValues() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
-
Returns all Q-values.
- readAllReconstruction() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- readDouble(int) - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- readDoubles(int, int) - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- readLatent(int) - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- readLatentIntoBuffer(double[]) - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- readQValue(int) - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
-
Reads Q-value for a specific action.
- readQValuesIntoBuffer(double[]) - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
-
Reads all Q-values into a pre-allocated buffer (Zero-GC).
- readReconstruction(int) - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- recurrentInputFeatureCount() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
recurrentInputFeatureCountrecord component. - recurrentLayerDepth() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
recurrentLayerDepthrecord component. - recurrentSoftActorCriticConfig() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns the value of the
recurrentSoftActorCriticConfigrecord component. - RecurrentSoftActorCriticConfigImpl - Record Class in org.spartan.internal.engine.config
- RecurrentSoftActorCriticConfigImpl(double, double, double, double, double, boolean, boolean, int, int, int, int, int, int, double, double, double, double, double, int, int, double, double, double, double, int) - Constructor for record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Creates an instance of a
RecurrentSoftActorCriticConfigImplrecord class. - RecurrentSoftActorCriticModelImpl - Class in org.spartan.internal.engine.model
-
Concrete implementation of Recurrent Soft Actor-Critic (RSAC) model.
- RecurrentSoftActorCriticModelImpl(String, long, RecurrentSoftActorCriticConfig, SpartanContext, Arena, SpartanActionManager) - Constructor for class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
-
Constructs an RSAC model with all necessary allocations.
- register() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- register() - Method in class org.spartan.internal.engine.SpartanModelImpl
- register() - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- registerAction(SpartanAction) - Method in class org.spartan.internal.engine.action.SpartanActionManagerImpl
- release() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
-
Unregisters from C++ and releases resources.
- remorseMinimumSimilarityThreshold() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
remorseMinimumSimilarityThresholdrecord component. - remorseTraceBufferCapacity() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
remorseTraceBufferCapacityrecord component. - removeAgent(long) - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- removeElement(SpartanContextElement) - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- removeElementsByIdentifier(String) - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- removeElementsOfType(Class) - Method in class org.spartan.internal.engine.context.SpartanContextImpl
- replayBatchSize() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
replayBatchSizerecord component. - replayBufferCapacity() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
replayBufferCapacityrecord component. - requireContextSize(SpartanContext) - Static method in class org.spartan.internal.engine.model.AbstractSpartanModel
- resetEpisode() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- resetEpisode() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- resetEpisode() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- resetEpisode() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- resetEpisode() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- resetEpisode() - Method in class org.spartan.internal.engine.SpartanModelImpl
- RSAC_ACTOR_HIDDEN_LAYER_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_ACTOR_HIDDEN_NEURON_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_ALPHA_LEARNING_RATE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_CONFIG_TOTAL_SIZE - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
-
Total byte size of RSAC config: 176 + (16 slots * 16 bytes) = 432 bytes
- RSAC_CONFIG_TOTAL_SIZE_PADDED - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
-
Total size padded to 64 bytes (allocator writes this much to satisfy AVX alignment).
- RSAC_CRITIC_HIDDEN_LAYER_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_CRITIC_HIDDEN_NEURON_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_ENCODER_SLOTS_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_ENTROPY_ALPHA_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_FIRST_CRITIC_LR_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_HIDDEN_STATE_SIZE_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_NESTED_ENCODER_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_POLICY_LR_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_RECURRENT_INPUT_FEATURE_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_RECURRENT_LAYER_DEPTH_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_REMORSE_BUFFER_CAPACITY_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_REMORSE_SIMILARITY_THRESHOLD_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_SECOND_CRITIC_LR_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_SQUASH_ACTIONS_WITH_TANH_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_TARGET_ENTROPY_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- RSAC_TARGET_SMOOTHING_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
S
- save(Path) - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- saveModel(Path) - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- saveModel(Path) - Method in class org.spartan.internal.engine.SpartanModelImpl
- secondCriticLearningRate() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
secondCriticLearningRaterecord component. - serialize(Arena, SpartanModelConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Serializes any SpartanModelConfig into a C-compatible MemorySegment.
- setLiveExplorationRate(double) - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- setLiveExplorationRate(double) - Method in class org.spartan.internal.engine.SpartanModelImpl
- setNativeLayoutSignature(int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
- SIMD_PADDING_DOUBLES - Static variable in class org.spartan.internal.engine.model.AbstractSpartanModel
-
SIMD padding in number of doubles.
- SLOT_DESCRIPTOR_SIZE - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- SLOT_ELEMENT_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- SLOT_HIDDEN_COUNT_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- SLOT_LATENT_DIM_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- SLOT_START_INDEX_OFFSET - Static variable in class org.spartan.internal.engine.model.SpartanConfigLayout
- SpartanActionManagerImpl - Class in org.spartan.internal.engine.action
- SpartanActionManagerImpl() - Constructor for class org.spartan.internal.engine.action.SpartanActionManagerImpl
- SpartanApiImpl - Class in org.spartan.internal.facade
- SpartanApiImpl() - Constructor for class org.spartan.internal.facade.SpartanApiImpl
- SpartanApiProviderImpl - Class in org.spartan.internal.spi
- SpartanApiProviderImpl() - Constructor for class org.spartan.internal.spi.SpartanApiProviderImpl
- SpartanConfigFactoryServiceProviderImpl - Class in org.spartan.internal.engine.config.spi
- SpartanConfigFactoryServiceProviderImpl() - Constructor for class org.spartan.internal.engine.config.spi.SpartanConfigFactoryServiceProviderImpl
- SpartanConfigLayout - Class in org.spartan.internal.engine.model
-
Memory layout constants for C-compatible hyperparameter config structs.
- SpartanContextImpl - Class in org.spartan.internal.engine.context
-
Implementation of SpartanContext using MemorySegment for shared memory with native code.
- SpartanContextImpl(String, Arena) - Constructor for class org.spartan.internal.engine.context.SpartanContextImpl
- SpartanContextImpl(String, Arena, int) - Constructor for class org.spartan.internal.engine.context.SpartanContextImpl
- spartanDecayExploration(long) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Triggers exploration rate decay for a specific agent.
- spartanGetLayoutSignature() - Static method in class org.spartan.internal.bridge.SpartanNative
-
Returns the computed layout signature for hyperparameter configs.
- spartanInit() - Static method in class org.spartan.internal.bridge.SpartanNative
-
Initializes the Spartan native engine.
- spartanLoadModel(long, String, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Loads model weights from a .spartan binary file into the given agent.
- spartanLog(String) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Logs a UTF-8 message through the Spartan console pipeline.
- SpartanModelAllocator - Class in org.spartan.internal.engine.model
-
Utility class responsible for allocating C-compatible memory buffers required by the Spartan native engine for model weights and parameters.
- SpartanModelImpl<SpartanModelConfigType> - Class in org.spartan.internal.engine
- SpartanModelImpl(String, long, SpartanModelConfigType, SpartanContext, Iterable) - Constructor for class org.spartan.internal.engine.SpartanModelImpl
- spartanMultiAgentAddAgent(long, long, MemorySegment, MemorySegment, int, MemorySegment, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Adds an agent to an existing multi-agent group.
- spartanMultiAgentApplyRewards(long, MemorySegment, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Applies rewards to all agents in a multi-agent group.
- SpartanMultiAgentGroupConfigImpl - Record Class in org.spartan.internal.engine.config
- SpartanMultiAgentGroupConfigImpl(double, double, double, double, double, boolean, boolean, int) - Constructor for record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Creates an instance of a
SpartanMultiAgentGroupConfigImplrecord class. - SpartanMultiAgentModelImpl<ConfigType> - Class in org.spartan.internal.engine
-
Implementation of SpartanMultiAgentModel.
- SpartanMultiAgentModelImpl(String, SpartanMultiAgentGroupConfig, SpartanContext, Iterable, Arena) - Constructor for class org.spartan.internal.engine.SpartanMultiAgentModelImpl
-
Constructor
- spartanMultiAgentRemoveAgent(long, long) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Removes an agent from a multi-agent group.
- SpartanNative - Class in org.spartan.internal.bridge
-
AUTOMATICALLY GENERATED - DO NOT EDIT.
- SpartanNative() - Constructor for class org.spartan.internal.bridge.SpartanNative
- spartanProximalPolicyOptimizationDebugCopyScalars(long, MemorySegment, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Copies a scalar debug snapshot from a ProximalPolicyOptimization model into a Java-owned buffer.
- spartanProximalPolicyOptimizationDebugGetScalarCount(long) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Returns the number of scalar values exposed by the ProximalPolicyOptimization debug snapshot.
- spartanRegisterModel(long, MemorySegment, MemorySegment, int, MemorySegment, int, MemorySegment, int, MemorySegment, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Registers a new ML agent in the engine's model registry.
- spartanRegisterMultiAgent(long, MemorySegment, int, MemorySegment, int, int, int, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Registers a multi-agent group with the Spartan engine.
- spartanSaveModel(long, String, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Saves a model's complete state (model weights + critic weights) to a .spartan file.
- spartanTestVectorUnion(MemorySegment, MemorySegment, int, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Computes the fuzzy-set union of two membership arrays in-place.
- spartanTickAgent(long, double) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Applies a reward and executes a single inference tick for one agent.
- spartanTickAll(MemorySegment, MemorySegment, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Executes a global engine tick across every registered agent.
- spartanTickMultiAgent(long) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Executes a tick for all agents in a multi-agent group.
- spartanUnregisterModel(long) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Removes an agent from the registry (e.g., entity death / disconnect).
- spartanUnregisterMultiAgent(long) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Unregisters a multi-agent group from the engine.
- spartanUpdateCleanSizes(long, MemorySegment, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Updates the clean sizes buffer for an active agent's variable-length context slices.
- squashActionsWithTanh() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
squashActionsWithTanhrecord component. - syncCleanSizes(long) - Method in class org.spartan.internal.engine.context.SpartanContextImpl
-
Synchronizes the clean sizes buffer with the native engine.
T
- targetEntropy() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
targetEntropyrecord component. - targetNetworkSyncInterval() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns the value of the
targetNetworkSyncIntervalrecord component. - targetSmoothingCoefficient() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
targetSmoothingCoefficientrecord component. - tick() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- tick() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- tick() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
-
Hot-path tick - Zero-GC.
- tick() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- tick() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
-
Ticks the model without an external reward signal.
- tick() - Method in class org.spartan.internal.engine.SpartanModelImpl
- tick() - Method in class org.spartan.internal.engine.SpartanMultiAgentModelImpl
- tick(double) - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
-
Hot-path tick with reward - Zero-GC.
- tick(double) - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
-
Hot-path tick with reward - Zero-GC.
- tick(double) - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- tick(double) - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
-
Hot-path tick with reward - Zero-GC.
- tick(double) - Method in class org.spartan.internal.engine.SpartanModelImpl
- toString() - Method in record class org.spartan.internal.engine.config.AutoEncoderCompressorConfigImpl
-
Returns a string representation of this record class.
- toString() - Method in record class org.spartan.internal.engine.config.CuriosityDrivenRecurrentSoftActorCriticConfigImpl
-
Returns a string representation of this record class.
- toString() - Method in record class org.spartan.internal.engine.config.DoubleDeepQNetworkConfigImpl
-
Returns a string representation of this record class.
- toString() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns a string representation of this record class.
- toString() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns a string representation of this record class.
- toString() - Method in record class org.spartan.internal.engine.config.SpartanMultiAgentGroupConfigImpl
-
Returns a string representation of this record class.
- trainingEpochCount() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
trainingEpochCountrecord component. - trajectoryBufferCapacity() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
trajectoryBufferCapacityrecord component. - truncatedBPTTDepth() - Method in record class org.spartan.internal.engine.config.RecurrentSoftActorCriticConfigImpl
-
Returns the value of the
truncatedBPTTDepthrecord component.
U
- update() - Method in class org.spartan.internal.engine.context.SpartanContextImpl
-
Updates all elements and flattens their data into the shared dataSegment.
- updateContextPointer(long, MemorySegment, int) - Static method in class org.spartan.internal.bridge.SpartanNative
-
Native binding for: updateContextPointer
V
- valueLossCoefficient() - Method in record class org.spartan.internal.engine.config.ProximalPolicyOptimizationConfigImpl
-
Returns the value of the
valueLossCoefficientrecord component.
W
- writeAutoEncoderConfig(Arena, AutoEncoderCompressorConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates and writes an AutoEncoder config to a MemorySegment with C-compatible layout.
- writeConfigToSegment() - Method in class org.spartan.internal.engine.model.AbstractSpartanModel
- writeConfigToSegment() - Method in class org.spartan.internal.engine.model.AutoEncoderCompressorModelImpl
- writeConfigToSegment() - Method in class org.spartan.internal.engine.model.CuriosityDrivenRecurrentSoftActorCriticModelImpl
- writeConfigToSegment() - Method in class org.spartan.internal.engine.model.DoubleDeepQNetworkModelImpl
- writeConfigToSegment() - Method in class org.spartan.internal.engine.model.ProximalPolicyOptimizationSpartanModelImpl
- writeConfigToSegment() - Method in class org.spartan.internal.engine.model.RecurrentSoftActorCriticModelImpl
- writeCuriosityDrivenRecurrentSoftActorCriticConfig(Arena, CuriosityDrivenRecurrentSoftActorCriticConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates and writes a Curiosity-Driven RSAC config to a MemorySegment with C-compatible layout.
- writeDDQNConfig(Arena, DoubleDeepQNetworkConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates and writes a DDQN config to a MemorySegment with C-compatible layout.
- writeMultiAgentGroupConfig(Arena, SpartanMultiAgentGroupConfig) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates and writes a Multi-Agent Group config to a MemorySegment with C-compatible layout.
- writePPOConfig(Arena, ProximalPolicyOptimizationConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
- writeRSACConfig(Arena, RecurrentSoftActorCriticConfig, int, int) - Static method in class org.spartan.internal.engine.model.SpartanModelAllocator
-
Allocates and writes an RSAC config to a MemorySegment with C-compatible layout.
All Classes and Interfaces|All Packages|Constant Field Values