Class UllmannSubraphIsomAdjMatrixState

java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.algorithms.naive_pattern_finder.UllmannSubraphIsomAdjMatrixState
All Implemented Interfaces:
Cloneable

public class UllmannSubraphIsomAdjMatrixState
extends Object
Author:
matthiak
  • Field Details

    • NULL_NODE

      static final int NULL_NODE
      The integer value for "not a node at all".
      See Also:
      Constant Field Values
  • Constructor Details

    • UllmannSubraphIsomAdjMatrixState

      public UllmannSubraphIsomAdjMatrixState​(Graph patternGraph, Graph targetGraph, boolean ignoreEdgeDirection)
  • Method Details

    • getAdjMatrixPattern

      public byte[][] getAdjMatrixPattern()
    • getAdjMatrixGraph

      public byte[][] getAdjMatrixGraph()
    • getCompatibilityMatrix

      public boolean[][] getCompatibilityMatrix()
    • getMatchNodesInGraphForPattern

      public int[] getMatchNodesInGraphForPattern()
      Returns:
      the matchNodesInGraphForPattern
    • getMatchNodesInPatternForGraph

      public int[] getMatchNodesInPatternForGraph()
      Returns:
      the matchNodesInPatternForGraph
    • computeNextPair

      public boolean computeNextPair​(int prevPatternNodeID, int prevTargetNodeID)
    • isFeasiblePair

      public boolean isFeasiblePair​(int node1, int node2)
    • addPair

      public void addPair​(int nodeOfPatternGraph, int nodeOfTargetGraph)
    • getNextNodeOfPattern

      public int getNextNodeOfPattern()
    • getNextNodeOfTarget

      public int getNextNodeOfTarget()
    • isGoal

      public boolean isGoal()
    • isDead

      public boolean isDead()
    • backtrack

      public void backtrack()
    • getPatternGraph

      public Graph getPatternGraph()
    • getTargetGraph

      public Graph getTargetGraph()
    • getCoreLength

      public int getCoreLength()
    • getMatchingNodesOfPattern

      public Node[] getMatchingNodesOfPattern()
    • getMatchingNodesOfTarget

      public Node[] getMatchingNodesOfTarget()
    • clone

      public Object clone()
    • printCompatibilityMatrix

      public void printCompatibilityMatrix()
    • printAdjacencyMatrix

      public static void printAdjacencyMatrix​(Node[] nodes, byte[][] createAdjacencyMatrix)