ppTransducer
functor
signature PPTRANSDUCER
functor ppTransducer
( ... ) : PPTRANSDUCER
This functor generates a graphical display for transducers, given alphabets with printnames for input- and output labels.
structure In : LABEL
structure Out : LABEL
structure In : LABEL
structure Out : LABEL
include TRANSDUCER
eqtype labelIn
type labelOut
val display : (labelIn, labelOut)
transducer
-> string -> OS.Process.status
eqtype labelIn
type labelOut
display tr s
LABEL, TRANSDUCER, Transducer
Example:
structure TdIB = ppTransducer(structure In = IntLabels structure Out = BoolLabels) val T = TdIB.make{start = [0], final = [2], trans = [(0,(0,false),0),(0,(1,true),1),(1,(1,false),1), (1,(0,true),1),(1,(0,false),2)]} TdIB.display T "file";