Dear Teck,
the Graph interface represents just a very simple collection of connected
nodes. So on your graphHyp you could call #getOutgoingEdges(node) to get
edge-objects representing the connections, or #getAdjancentTargets(node)
to directly get the connected successor nodes. For this, I would suggest
to either write a utility function that binds the generic types or use the
proper types from the #transitionGraphView method, because wildcards (?)
get messy quickly.
If you require to retain information about the properties of the
hypothesis, certain sub-interfaces (e.g. FSAs or MealyMachines) specialize
the return type of the #transitionGraphView method to a UniversalGraph,
which maintains information about state- and edge properties.
If you want more of a "direct access" datastructure, e.g. something like
"give me the successor(s) for input i", I would suggest to stick to the
TransitionSystem type (which Automaton, DFA, MealyMachine, etc. are
sub-classes of) and simply use its #getTransition / #getSuccessor
functions.
Kind regards,
Markus