Package heart.alsvfd

Examples of heart.alsvfd.SimpleSymbolic


    StateElement weatherE = new StateElement();
      StateElement activityE = new StateElement();
      StateElement userProfileE = new StateElement();
     
      weatherE.setAttributeName("weather");
      Value rainy = new SimpleSymbolic("rainy", null, 0.6f);
      weatherE.setValue(rainy);
     
      userProfileE.setAttributeName("user_profile");
      SetValue profile = new SetValue();
      Value[] prifleElements  = {
          new SimpleSymbolic("eating",null,0.6f),
          new SimpleSymbolic("culture",null,0.2f),
          new SimpleSymbolic("entertainment", null, 0.8f),
          new SimpleSymbolic("sightseeing",null,0.2f)
          };
      profile.setValues(Arrays.asList(prifleElements));
      userProfileE.setValue(profile);
     
      activityE.setAttributeName("activity");
      SimpleSymbolic walking = new SimpleSymbolic("walking",null,0.8f);
      activityE.setValue(walking);
     
     
     
      State XTTstate = new State();
View Full Code Here


         
          hourE.setAttributeName("hour");
          hourE.setValue(new SimpleNumeric(16d));
         
          dayE.setAttributeName("day");
          dayE.setValue(new SimpleSymbolic("mon",1));
         
          locationE.setAttributeName("location");
          locationE.setValue(new SimpleSymbolic("work"));
         
          activityE.setAttributeName("activity");
          activityE.setValue(new SimpleSymbolic("walking"));
         
         
          State XTTstate = new State();
          XTTstate.addStateElement(hourE);
          XTTstate.addStateElement(dayE);
View Full Code Here

TOP

Related Classes of heart.alsvfd.SimpleSymbolic

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.