Package 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 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
  Description
  `Condition()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### Condition

    public Condition()

- ## Method Details

  - ### 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.