Package stanfordlogic.knowledge

Examples of stanfordlogic.knowledge.GameInformation


    }
   
    public void testBigMinichess() throws IOException
    {
        // Load the rules for mini-chess
        GameInformation info = MetaGdl.examineGame("game-defs/minichess.kif", parser_);
       
        KnowledgeBase staticKb = new BasicKB();
        staticKb.loadWithFacts( info.getAllGrounds() );
       
        List<Implication> rules = info.getRules();
       
        KnowledgeBase volatileKb = new BasicKB();
       
        AbstractReasoner reasoner = new BasicReasoner(staticKb, rules, parser_);
       
View Full Code Here


   
   
    public void testChessLegalMoves()
    {
        // Load the rules for chess
        GameInformation info = MetaGdl.examineGame("game-defs/chess.kif", parser_);
       
        KnowledgeBase staticKb = new BasicKB();
        staticKb.loadWithFacts( info.getAllGrounds() );
       
        List<Implication> rules = info.getRules();
       
        KnowledgeBase volatileKb = new BasicKB();
       
        AbstractReasoner reasoner = new BasicReasoner(staticKb, rules, parser_);
       
View Full Code Here

TOP

Related Classes of stanfordlogic.knowledge.GameInformation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.