Class ProcessRewardFunction.RewardComponent
java.lang.Object
neqsim.process.ml.ProcessRewardFunction.RewardComponent
- All Implemented Interfaces:
Serializable
- Enclosing class:
ProcessRewardFunction
private abstract static class ProcessRewardFunction.RewardComponent
extends Object
implements Serializable
Abstract base class for reward components.
- Version:
- 1.0
- Author:
- ESOL
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final StringComponent name.private static final long(package private) final doubleWeight for this component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract doubleCompute the raw (unweighted) reward value.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
name
Component name. -
weight
final double weightWeight for this component.
-
-
Constructor Details
-
RewardComponent
RewardComponent(String name, double weight) Constructor.- Parameters:
name- component nameweight- component weight
-
-
Method Details
-
computeRaw
abstract double computeRaw()Compute the raw (unweighted) reward value.- Returns:
- raw reward
-