Esempio n. 1
0
        //
        // PRIVATE METHODS
        //
        private void init()
        {
            SetAlive(true);
            stack.Clear();
            AndOrSearch <object, IAction> andOrSearch = new AndOrSearch <object, IAction>();

            this.contingencyPlan = andOrSearch.search(this.problem);
        }
Esempio n. 2
0
    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);
    }