Packages

object InstructionCountBoundedAI

Defines common helper methods.

Source
InstructionCountBoundedAI.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InstructionCountBoundedAI
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def calculateMaxEvaluationCount(code: Code, maxEvaluationFactor: Double)(implicit logContext: LogContext): Int

    Calculates a meaningful upper bound for the number of instruction evaluation that should suffice for evaluating the code.

    Calculates a meaningful upper bound for the number of instruction evaluation that should suffice for evaluating the code. However, this is only a heuristics which may fail for methods with a certain (hidden) complexity.