Class ToDot

java.lang.Object
ca.uqac.lif.cep.functions.Function
ca.uqac.lif.cep.functions.UnaryFunction<Graph,String>
ca.uqac.lif.cep.graphviz.ToDot
All Implemented Interfaces:
ca.uqac.lif.cep.Duplicable, ca.uqac.lif.cep.functions.DuplicableFunction

public class ToDot extends ca.uqac.lif.cep.functions.UnaryFunction<Graph,String>
Converts a graph into a DOT string
Author:
Sylvain Hallé
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ToDot
    A unique publicly-accessible instance of the function

    Fields inherited from class ca.uqac.lif.cep.functions.Function

    s_maxInputArity
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction

    duplicate, evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, reset

    Methods inherited from class ca.uqac.lif.cep.functions.Function

    duplicate, evaluate, evaluate, evaluateLazy, evaluatePartial, printState, readState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • instance

      public static final transient ToDot instance
      A unique publicly-accessible instance of the function
  • Constructor Details

    • ToDot

      protected ToDot()
  • Method Details

    • getValue

      public String getValue(Graph g)
      Specified by:
      getValue in class ca.uqac.lif.cep.functions.UnaryFunction<Graph,String>