Package fr.irit.halterego.rrl_ggp.serialization

Examples of fr.irit.halterego.rrl_ggp.serialization.SerializableState


                        min_q.put(role, action, max_q);
                    }
                }
            }
           
            SerializableState sstate = getState(state);
           
            for (String role : roles)
            {
                for (RAction raction : min_q.getActions(role))
                {
View Full Code Here


        {
            max_q = state.getReward(role);
        }
        else
        {
            SerializableState sstate = getState(state);
            SerializableAction saction = getAction(actions.iterator().next());
            max_q = table.getQValue(sstate, role, saction);
            for (RAction action : state.legalActions(role))
            {
                saction = getAction(action);
View Full Code Here

                    break;
                }
               
                Element root = builder.build(file).getRootElement();
                List<Element> states = root.getChildren("state");
                SerializableState state = getState(states.get(0));
                SerializableAction action = actions.get(step);
                if(action != null)
                {
                    transitions.add(new Transition(state,action));
                }
View Full Code Here

        Set<GroundFact> state = new HashSet<GroundFact>();
        for(Element e : element.getChildren("fact"))
        {
            state.add(createGroundFact(e));
        }
        return new SerializableState(state);
    }
View Full Code Here

TOP

Related Classes of fr.irit.halterego.rrl_ggp.serialization.SerializableState

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.