00001 #include "opennwa/NwaFwd.hpp" 00002 00003 namespace opennwa 00004 { 00005 namespace construct 00006 { 00007 00008 /** 00009 * 00010 * @brief constructs the NWA resulting from the concatenation of the given NWAs 00011 * 00012 * This method constructs the concatenation of the given NWAs by adding epsilon 00013 * transitions from all final states of 'first' to all initial states of 'second'. 00014 * Note: The resulting NWA is NOT guaranteed to be deterministic. 00015 * 00016 * @param - first: the NWA to which 'second' should be concatenated 00017 * @param - second: the NWA to concatenate onto the end of 'first' 00018 * 00019 */ 00020 extern void concat(Nwa & out, Nwa const & first, Nwa const & second); 00021 00022 00023 /** 00024 * 00025 * @brief constructs the NWA resulting from the concatenation of the given NWAs 00026 * 00027 * This method constructs the concatenation of the given NWAs by adding epsilon 00028 * transitions from all final states of 'first' to all initial states of 'second'. 00029 * Note: The resulting NWA is NOT guaranteed to be deterministic. 00030 * 00031 * @param - first: the NWA to which 'second' should be concatenated 00032 * @param - second: the NWA to concatenate onto the end of 'first' 00033 * @param - stuck: dummy parameter 00034 * @return the NWA resulting from the concatenation of the given NWAs 00035 * 00036 */ 00037 extern NwaRefPtr concat( Nwa const & first, Nwa const & second ); 00038 00039 00040 } 00041 } 00042 00043 00044 // Yo, Emacs! 00045 // Local Variables: 00046 // c-file-style: "ellemtel" 00047 // c-basic-offset: 2 00048 // End: 00049