Class GraphVizAutomatonFormat
Converts a given automaton to its GraphViz description.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions.Automata
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class GraphVizAutomatonFormat : IAutomatonFormat
Methods
ConvertToString<TSequence, TElement, TElementDistribution, TSequenceManipulator, TAutomaton>(Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TAutomaton>)
Converts a given automaton to a GraphViz representation.
Declaration
public string ConvertToString<TSequence, TElement, TElementDistribution, TSequenceManipulator, TAutomaton>(Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TAutomaton> automaton)
where TSequence : class, IEnumerable<TElement> where TElementDistribution : IImmutableDistribution<TElement, TElementDistribution>, CanGetLogAverageOf<TElementDistribution>, CanComputeProduct<TElementDistribution>, CanCreatePartialUniform<TElementDistribution>, SummableExactly<TElementDistribution>, new()
where TSequenceManipulator : ISequenceManipulator<TSequence, TElement>, new()
where TAutomaton : Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TAutomaton>, new()
Parameters
Type | Name | Description |
---|---|---|
Automaton<TSequence, TElement, TElementDistribution, TSequenceManipulator, TAutomaton> | automaton | The automaton to convert to a string. |
Returns
Type | Description |
---|---|
String | The string representation of |
Type Parameters
Name | Description |
---|---|
TSequence | The type of sequences |
TElement | The type of sequence elements of |
TElementDistribution | The type of distributions over sequence elements of |
TSequenceManipulator | The type providing ways to manipulate instances of |
TAutomaton | The concrete type of |
Escape(String)
Declaration
public string Escape(string rawString)
Parameters
Type | Name | Description |
---|---|---|
String | rawString |
Returns
Type | Description |
---|---|
String |