public MatchMachine(AddrSet addrset)
{
if (addrset == null)
{
throw new Exception("AddrSet is not initialized");
}
if (AddrSet.AddrGraph == null)
{
throw new Exception("Graph is not initialized");
}
_addrset = addrset;
init();
}