Examples of Action


Examples of fr.irit.halterego.ggp_agent.rlcpp.Action

            nextState = new State();
            nextState.discrete = true;
            nextState.discreteState = id(result);
        }
       
        Action vanactions[] = new Action[2];
        vanactions[0] = new Action();
        vanactions[0].discreteAction = id(action);
        vanactions[0].discrete = true;
        vanactions[1] = new Action();
        vanactions[1].discreteAction = previous_action;
        vanactions[1].discrete = true;
        previous_action = id(action);
       
        double learning_rat[] = new double[2];
View Full Code Here

Examples of fr.soleil.model.scanserver.Action

            int index = comboActionType.getSelectedIndex();
            if (index == 0) {
                buttonGoTo.setUserEnabled(false);
            }

            Action action = Action.getAction(index);
            if (action != null) {
                comboSensor.setUserEnabled(action.isSensorRequired());
                comboActuator.setUserEnabled(action.isActuatorRequired());
            }
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.bean.ISalsaActionBeanListener.Action

        }
    }

    @Override
    public Action getAction() {
        Action action = Action.NONE;
        if (button != null) {
            ACTION_TYPE actionType = button.getActionType();
            switch (actionType) {
                case START:
                    action = Action.START;
View Full Code Here

Examples of frsf.cidisi.faia.agent.Action

    @Override
    public Action selectAction() {
        this.setSolver(new SituationCalculus());

        Action selectedAction = null;
        try {
            selectedAction = this.getSolver().solve(new Object[]{this.getAgentState()});
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
View Full Code Here

Examples of games.stendhal.common.Line.Action

   */
  @Test
  public void testLine() {
    final String expected = "10,10;11,10;12,10;13,11;14,11;15,12;16,12;17,13;18,13;19,14;20,14;21,14;22,15;23,15;24,16;25,16;26,17;27,17;28,18;29,18;30,18;31,19;32,19;33,20;34,20;35,21;36,21;37,22;38,22;39,22;40,23;41,23;42,24;43,24;44,25;45,25;46,26;47,26;48,26;49,27;50,27;51,28;52,28;53,29;54,29;55,30;56,30;57,30;58,31;59,31;60,32;61,32;62,33;63,33;64,34;65,34;66,34;67,35;68,35;69,36;70,36;71,37;72,37;73,38;74,38;75,38;76,39;77,39;78,40;79,40;80,41;81,41;82,42;83,42;84,42;85,43;86,43;87,44;88,44;89,45;90,45;91,46;92,46;93,46;94,47;95,47;96,48;97,48;98,49;99,49;100,50;";
    final StringBuilder sb = new StringBuilder();
    Line.renderLine(10, 10, 100, 50, new Action() {

      @Override
      public void fire(final int x, final int y) {
        sb.append(x + "," + y + ";");
      }
View Full Code Here

Examples of gov.nysenate.openleg.model.Action

                    for(Action event : actions) {
                        if(event.getDate().equals(c.getTime())) {
                            c.set(Calendar.SECOND, c.get(Calendar.SECOND) + 1);
                        }
                    }
                    Action action = new Action(c.getTime(), eventText, bill);
                    action.setBill(null); // This is terribad.
                    actions.add(action);

                    eventText = eventText.toUpperCase();

                    Matcher committeeEventText = committeeEventTextPattern.matcher(eventText);
View Full Code Here

Examples of grammar.input.stdin.Command.Action

import grammar.util.Utilities;

public class CommandFactory {
  public static Command interpret(Language language, String commandText) {
    String[] words = commandText.split(" ");
    Action action = Action.valueOf(Utilities.asConstantName(words[0]));
   
    words = Arrays.copyOfRange(words, 1, words.length);
    String[] wordsNoConj = removeConjunctions(words);
   
    List<XCommandParser> cps = Arrays.asList(new XCommandParser[] {
View Full Code Here

Examples of heart.Action

      Debug.debug(Debug.heartTag, Level.RULES, "Executing actions of rule "+this.getName()+" (ID: "+this.getId()+")");
      for(String a : actions){
        if(a != null){
          Class<?> actionClass = Class.forName(a);
          Method method = actionClass.getMethod("execute");
                Action action = (Action)actionClass.newInstance();
          method.invoke(action);
        }
      }
     
      //TODO pass tokens, what about rule-links?
View Full Code Here

Examples of hirondelle.web4j.action.Action

    int numRecords = dao.delete(getLoggedInUserName(), getUserId(), predictionLists);
    fLogger.fine("Account deleted for user login name: " + getLoggedInUserName().getRawString() + ". This many rows deleted:" + numRecords);
   
    //interesting - log off by calling another action directly
    //BUT cannot use the response page of the other action
    Action logoff = new LogoffAction(getRequestParser());
    logoff.execute();
  }
View Full Code Here

Examples of hudson.model.Action

    }

    @Test
    public void testGetAction_returnActionWhenFoundByName()
    {
        final Action expectedAction = mock( Action.class );
        when( mockBuild.getActions() ).thenReturn( new LinkedList<Action>()
        {{
                add( expectedAction );
            }} );

        assertSame( expectedAction, buildWrapper.getAction( expectedAction.getClass().getName() ) );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.