java.lang.Object
es.upm.fi.cig.multictbnc.learning.structure.constraints.AbstractStructureConstraints
es.upm.fi.cig.multictbnc.learning.structure.constraints.CTBNC.Digraph
All Implemented Interfaces:
StructureConstraints

public class Digraph extends AbstractStructureConstraints
Specifies the structure restrictions of a CTBN.
  • Constructor Details

    • Digraph

      public Digraph()
  • Method Details

    • isStructureLegal

      public boolean isStructureLegal(boolean[][] adjacencyMatrix, NodeIndexer<? extends Node> nodeIndexer)
      Description copied from interface: StructureConstraints
      Determines if the structure of a PGM is legal.
      Parameters:
      adjacencyMatrix - adjacency matrix
      nodeIndexer - node indexer that allows access to information about the nodes
      Returns:
      true if the structure is legal, false otherwise