load_aut_xml(x,
namespace=' http://tulip-control.sourceforge.net/ns/1 ' )
|
|
Return strategy constructed from output of gr1c.
- Parameters:
x - a string or an instance of
xml.etree.ElementTree._ElementInterface
spec0 (GRSpec) - GR(1) specification with which to interpret the output of gr1c
while constructing a MealyMachine, or None if the output from
gr1c should be used as is. Note that spec0 may differ from the
specification in the given tulipcon XML string x. If you are
unsure what to do, try setting spec0 to whatever gr1cint.synthesize was invoked with.
- Returns:
- if a strategy is given in the XML string, return it as
networkx.DiGraph . Else, return (GRSpec,
None ), where the first element is the specification
as read from the XML string.
|