From 5adb65e0a649725c83998245aeab5112e90267ef Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Thu, 20 Apr 2006 09:42:14 +0000 Subject: v0.401: added experimental lookup() and paths() svn path=/trunk/externals/moocow/; revision=4946 --- gfsm/src/pd_automaton.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'gfsm/src/pd_automaton.h') diff --git a/gfsm/src/pd_automaton.h b/gfsm/src/pd_automaton.h index ed95954..fcc2646 100644 --- a/gfsm/src/pd_automaton.h +++ b/gfsm/src/pd_automaton.h @@ -3,7 +3,7 @@ * Author: Bryan Jurish * Description: finite state automata for Pd * - * Copyright (c) 2004 Bryan Jurish. + * Copyright (c) 2004-2006 Bryan Jurish. * * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. @@ -52,8 +52,21 @@ typedef struct _pd_gfsm_automaton_pd typedef struct _pd_gfsm_automaton_obj { t_object x_obj; + + //-- underlying automaton t_pd_gfsm_automaton_pd *x_automaton_pd; - t_atom x_argv[5]; + + //-- for lookup() + gfsmLabelVector *x_labels; + + //-- for paths() + gfsmSet *x_paths_s; + GPtrArray *x_paths_a; + guint x_paths_i; + + //-- output-related stuff + t_int x_argc; + t_atom *x_argv; t_outlet *x_valout; } t_pd_gfsm_automaton_obj; -- cgit v1.2.1