Class PureMatchIteratorImpl

java.lang.Object
org.bigraphs.framework.simulation.matching.pure.PureMatchIteratorImpl
All Implemented Interfaces:
Iterator<PureBigraphMatch>
Direct Known Subclasses:
PureMatchIteratorImpl.FirstMatchOnly

public class PureMatchIteratorImpl extends Object implements Iterator<PureBigraphMatch>
Iterator implementation for bigraph matching.

This iterator is created by the PureBigraphMatcher class.

Author:
Dominik Grzelak
  • Field Details

  • Method Details

    • findMatches

      protected void findMatches()
      The behavior of findMatches may vary if a subclass overrides this method to provide custom matching logic.

      This can be done to provide simple constraints or filters for the matches.

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<PureBigraphMatch>
    • next

      public PureBigraphMatch next()
      Specified by:
      next in interface Iterator<PureBigraphMatch>