public TrainMachine(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;
//LocalTrainRule = defualtRule;
//init();
}