org.eclipse.viatra.query.runtime.localsearch.plan

## Class SimplePlanProvider

- java.lang.Object
- - org.eclipse.viatra.query.runtime.localsearch.plan.SimplePlanProvider

- All Implemented Interfaces:
    IPlanProvider

      public class SimplePlanProvider
      extends java.lang.Object
      implements IPlanProvider

  A plan provider implementation which caches previously calculated plans to avoid re-planning for the same adornment
  Since:
    1.7

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimplePlanProvider(org.apache.log4j.Logger logger)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `IPlanDescriptor` | `getPlan(IQueryBackendContext backend, IOperationCompiler compiler, ResultProviderRequestor resultRequestor, LocalSearchHints configuration, MatcherReference key)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimplePlanProvider

          public SimplePlanProvider(org.apache.log4j.Logger logger)

  - ### Method Detail

    - #### getPlan

          public IPlanDescriptor getPlan(IQueryBackendContext backend,
                                         IOperationCompiler compiler,
                                         ResultProviderRequestor resultRequestor,
                                         LocalSearchHints configuration,
                                         MatcherReference key)

      Specified by:
        `getPlan` in interface `IPlanProvider`