SIS
Symmetric Index Structures
/Users/dbr/ma/src/bas/lml/command.h
Go to the documentation of this file.
00001 #ifndef _HEADER_FILE_COMMAND_
00002 #define _HEADER_FILE_COMMAND_
00003 
00004 #define CMD_REVERSE_AND_SORT (1)
00005 #define CMD_BUILD_SUFFIX_TREE (2)
00006 #define CMD_GENERATE_SUFFIXES (3)
00007 #define CMD_COMPRESSED_AUTOMATON_LANG (4)
00008 #define CMD_BUILD_CDAWG (5)
00009 #define CMD_COMPRESSED_AUTOMATON_STAT (6)
00010 #define CMD_BUILD_SCDAWG (7)
00011 #define CMD_SCDAWG_LEFT_LANG (8)
00012 #define CMD_COMPRESSED_AUTOMATON_GV (9)
00013 #define CMD_SCDAWG_STAT (10)
00014 #define CMD_SCDAWG_GV (11)
00015 #define CMD_HELP (12) 
00016 
00017 typedef struct tCommand{
00018     UINT cmd;
00019     S8** arguments;
00020     UINT numberOfArguments;
00021 } Command;
00022 
00023 Command * CommandInit();
00024 void CommandFree( Command * cmd );
00025 void CommandParse( Command * cmd, UINT argc, S8** argv );
00026 void CommandExecute( Command * cmd );
00027 
00028 #endif