Interface WorkUnit

All Known Subinterfaces:
LiteralPredicate

public interface WorkUnit

A unit of work with given complexity. The complexity can either be computed as a sum of underlying complexity objects or assigned by user.

The complexity value is a key parameter for a set of optimization tasks like grouping and sorting of conditions and for building the Rete evaluation graph.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
  • Field Details

  • Method Details

    • getComplexity

      double getComplexity()