Abstract class for a CachingDecision.
A Decision class represents a decision that takes in a single parent element, applies a function (aka a policy) on the value of the parent, and returns a decision element.
A Decision class represents a decision that takes in a single parent element, applies a function (aka a policy) on the value of the parent, and returns a decision element. A decision is essentially a chain, with the added capability to change the function in the chain. If your decision has more than one parent, you can create an element tuple of the parents and use the tuple as the input to the decision.
Convenience class to handle the output of decision inference algorithms.
Convenience class to handle the output of decision inference algorithms. Contains a weighted utility and the weight
The utility multiplied by its weight
Trait that implements an exact policy.
Abstract class for a NonCachingDecision.
Abstract class for a NonCachingDecision. It is abstract because makePolicy has not been defined yet.
Trait that defines how to make a policy for a particular decision.
Trait that defines how to make a policy for a particular decision. All decision elements must implement this trait by defining makePolicy. The default usage of caching and noncaching decisions provide implementations of the makePolicy function. If you want a different policy, you must define makePolicy.
By default, creating a Decision uses a Caching decision and an exact policy.
By default, creating a Decision uses a Caching decision and an exact policy. See NonCachingDecision for approximate policies.
Utility functions that are used in decision inference.
Abstract class for a CachingDecision. It is abstract because makePolicy has not been defined yet.