Class ConstraintChain

java.lang.Object
org.biopax.paxtools.pattern.constraint.ConstraintAdapter
org.biopax.paxtools.pattern.constraint.ConstraintChain
All Implemented Interfaces:
Constraint

public class ConstraintChain extends ConstraintAdapter
Used for using several constraints as a chain. The generated elements from a constraint is used as input by the next constraint in the chain. All constraints except the first one has to be size 2.
Author:
Ozgun Babur
  • Constructor Details

    • ConstraintChain

      public ConstraintChain(Constraint... con)
      Constructor with the chained constraints. All constraints has to be generative, and all constraints, except the first one, has to be size 2. The input to these constraints is the element that is generated by the previous constraint in the chain.
      Parameters:
      con - mapped constraints
  • Method Details