public class Objectives
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static AlwaysSatisfiedDummyHardObjective |
createAlwaysSatisfiedDummyHardObjective()
This hard objective is fulfilled in any circumstances.
|
static CompositeObjective |
createCompositeObjective(java.lang.String name)
This objective can combine the calculated fitness value of other objectives.
|
static ConstraintsObjective |
createConstraintsObjective(java.lang.String name)
This objective uses VIATRA Queries to calculate fitness and/or goal constraints.
|
static DepthHardObjective |
createDepthHardObjective()
This hard objective is fulfilled if the length of the trajectory is in the specified interval (inclusive).
|
static DepthHardObjective |
createDepthHardObjective(java.lang.String name)
This hard objective is fulfilled if the length of the trajectory is in the specified interval (inclusive).
|
static AlwaysSatisfiedDummyHardObjective |
createDummyHardObjective(java.lang.String name)
This hard objective is fulfilled in any circumstances.
|
static NeverSatisfiedDummyHardObjective |
createNeverSatisfiedDummyHardObjective()
This hard objective is never fulfilled.
|
static NeverSatisfiedDummyHardObjective |
createNeverSatisfiedDummyHardObjective(java.lang.String name)
This hard objective is never fulfilled.
|
static NoRuleActivationsHardObjective |
createNoRuleActivationsHardConstraint()
This objective adds a goal constraint that a solution state should not have any activations.
|
static NoRuleActivationsHardObjective |
createNoRuleActivationsHardConstraint(java.lang.String name)
This objective adds a goal constraint that a solution state should not have any activations.
|
static TrajectoryCostSoftObjective |
createTrajcetoryCostObjective(java.lang.String name)
This objective calculates fitness on the trajectory by adding either fix costs to the rules, or by calculating
custom fitness on activation of rules.
|
public static ConstraintsObjective createConstraintsObjective(java.lang.String name)
name - ConstraintsObjectivepublic static TrajectoryCostSoftObjective createTrajcetoryCostObjective(java.lang.String name)
name - TrajectoryCostSoftObjectivepublic static NoRuleActivationsHardObjective createNoRuleActivationsHardConstraint()
NoRuleActivationsHardObjectivepublic static NoRuleActivationsHardObjective createNoRuleActivationsHardConstraint(java.lang.String name)
name - NoRuleActivationsHardObjectivepublic static CompositeObjective createCompositeObjective(java.lang.String name)
name - NoRuleActivationsHardObjectivepublic static AlwaysSatisfiedDummyHardObjective createAlwaysSatisfiedDummyHardObjective()
AlwaysSatisfiedDummyHardObjectivepublic static AlwaysSatisfiedDummyHardObjective createDummyHardObjective(java.lang.String name)
name - AlwaysSatisfiedDummyHardObjectivepublic static NeverSatisfiedDummyHardObjective createNeverSatisfiedDummyHardObjective()
AlwaysSatisfiedDummyHardObjectivepublic static NeverSatisfiedDummyHardObjective createNeverSatisfiedDummyHardObjective(java.lang.String name)
AlwaysSatisfiedDummyHardObjectivepublic static DepthHardObjective createDepthHardObjective()
DepthHardObjective.withMinDepth(int) and DepthHardObjective.withMaxDepth(int) to configure.DepthHardObjectivepublic static DepthHardObjective createDepthHardObjective(java.lang.String name)
DepthHardObjective.withMinDepth(int) and DepthHardObjective.withMaxDepth(int) to configure.name - DepthHardObjective