Package

com.cra.figaro.library

decision

Permalink

package decision

Visibility
  1. Public
  2. All

Type Members

  1. class AlgorithmDecisionException extends AlgorithmException

    Permalink
  2. abstract class CachingDecision[T, U] extends CachingChain[T, U] with Decision[T, U]

    Permalink

    Abstract class for a CachingDecision.

    Abstract class for a CachingDecision. It is abstract because makePolicy has not been defined yet.

  3. trait Decision[T, U] extends Chain[T, U] with PolicyMaker[T, U]

    Permalink

    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.

  4. class DecisionIllegalArgumentException extends IllegalArgumentException

    Permalink
  5. case class DecisionSample(weightedUtil: Double, weight: Double) extends Product with Serializable

    Permalink

    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

    weightedUtil

    The utility multiplied by its weight

  6. trait ExactPolicyMaker[T, U] extends PolicyMaker[T, U]

    Permalink

    Trait that implements an exact policy.

  7. class IllegalDecisionNetwork extends DecisionIllegalArgumentException

    Permalink
  8. class IllegalUtilityNodeException extends AlgorithmDecisionException

    Permalink
  9. abstract class NonCachingDecision[T, U] extends NonCachingChain[T, U] with Decision[T, U]

    Permalink

    Abstract class for a NonCachingDecision.

    Abstract class for a NonCachingDecision. It is abstract because makePolicy has not been defined yet.

  10. class ParentValueNotFoundException extends AlgorithmDecisionException

    Permalink
  11. trait PolicyMaker[T, U] extends AnyRef

    Permalink

    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.

Value Members

  1. object CachingDecision

    Permalink
  2. object Decision

    Permalink

    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.

  3. object DecisionUtil

    Permalink

    Utility functions that are used in decision inference.

  4. object NonCachingDecision

    Permalink

Ungrouped