// // PRIVATE METHODS // private void init() { SetAlive(true); stack.Clear(); AndOrSearch <object, IAction> andOrSearch = new AndOrSearch <object, IAction>(); this.contingencyPlan = andOrSearch.search(this.problem); }
public static DataTable getProfiles(String[] searchValues, AndOrSearch searchKey, String clientCountry) { switch (searchKey) { case AndOrSearch.OR: return(DL_Catalog.getProfilesByCodeUsingOR(searchValues, clientCountry)); case AndOrSearch.AND: return(DL_Catalog.getProfilesByCodeUsingAND(searchValues, clientCountry)); } return(null); }