edu.claflin.finder.logic

## Class Condition

- java.lang.Object
- - edu.claflin.finder.logic.Condition

- Direct Known Subclasses:
    BipartiteCondition, CliqueCondition, DirectedCliqueCondition

      public abstract class Condition
      extends java.lang.Object

  Represents a graph condition in memory. Subgraphs are described based on Condition objects. Simple graphs can be represented by a single condition or several condition objects wrapped within a large condition.
  Version:
    1.0.1 May 22, 2015
  Author:
    Charles Allen Schultz II

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Condition()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract boolean` | `satisfies(Graph existingGraph)` Used to test if the supplied graph is within the bounds of the condition's implementation.

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

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

- - ### Constructor Detail

    - #### Condition

          public Condition()

  - ### Method Detail

    - #### satisfies

          public abstract boolean satisfies(Graph existingGraph)

      Used to test if the supplied graph is within the bounds of the condition's implementation.
      Parameters:
        `existingGraph` - the Graph to test if the Condition applies.
      Returns:
        a boolean indicating if the requirements satisfy the condition.