Interface Treatment<RW extends MaterializedData & Writable>

Type Parameters:
RW - the writable materialized data type handled by the treatment
All Known Subinterfaces:
EndTreatment<RW>, PreTreatment<RW>
All Known Implementing Classes:
AddCreatedFacts, ComputeCore, ComputeLocalCore, Debug, PredicateFilterEndTreatment, Report, RuleSplit

public interface Treatment<RW extends MaterializedData & Writable>
Apply a given treatment
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Applies the treatment
    default String
    Default method to describe the treatment
    void
    Initialize the treatment for the given chase
  • Method Details

    • init

      void init(Chase<RW> c)
      Initialize the treatment for the given chase
      Parameters:
      c - the chase object
    • apply

      void apply()
      Applies the treatment
    • describe

      default String describe()
      Default method to describe the treatment
      Returns:
      a textual description of the treatment