1 23 package org.objectweb.clif.scenario.util.isac.engine.behavior.node.description; 24 25 32 public class ChoiceDescription { 33 int probability ; 35 36 40 public ChoiceDescription(int p) { 41 this.probability = p ; 42 } 43 44 48 51 public int getProbability() { 52 return probability; 53 } 54 55 59 public String toString() { 60 String result = "" ; 61 result = result.concat("prob :"+probability+" \n") ; 62 return result ; 63 } 64 65 } 66 67 | Popular Tags |