Deprecated API


Contents
Deprecated Classes
jason.asSyntax.BodyLiteral
          use PlanBodyImpl instead. 
jason.environment.SteppedEnvironment
          this class was renamed to TimeSteppedEnvironment 
 

Deprecated Enums
jason.asSyntax.BodyLiteral.BodyType
          Use BodyType of PlanBody instead 
 

Deprecated Methods
jason.asSyntax.PlanLibrary.add(StringTerm, Term)
          parse the plan before (ASSyntax methods) and call add(Plan, ...) methods 
jason.asSyntax.PlanLibrary.add(StringTerm, Term, boolean)
          parse the plan before (ASSyntax methods) and call add(Plan, ...) methods 
jason.asSemantics.Unifier.apply(Pred)
          use p.apply(un) instead. 
jason.asSemantics.Unifier.apply(Term)
          use t.apply(un) instead. 
jason.environment.grid.Area.distanceMaxBorder(Location)
          renamed to chebyshevDistanceToBorder 
jason.bb.DefaultBeliefBase.getAll()
          use iterator() instead of getAll 
jason.bb.BeliefBase.getAll()
          use iterator() instead of getAll 
jason.asSyntax.PlanLibrary.getAllRelevant(Trigger)
          use getCandidatePlans(te) instead 
jason.bb.DefaultBeliefBase.getRelevant(Literal)
          use getCandidateBeliefs(l,null) instead 
jason.bb.BeliefBase.getRelevant(Literal)
          use getCandidateBeliefs(l,null) instead 
jason.asSyntax.Structure.getTermsSize()
          use getArity 
jason.asSyntax.Plan.getTriggerEvent()
          use getTrigger 
jason.environment.EnvironmentInfraTier.informAgsEnvironmentChanged(Collection)
          use the informAgsEnvironmentChanged with String... parameter 
jason.environment.Environment.informAgsEnvironmentChanged(Collection)
          use version with String... parameter 
jason.asSemantics.Agent.initAg(AgArch, BeliefBase, String, Settings)
          Prefer the initAg method with only the source code of the agent as parameter. A call of this method like
     TransitionSystem ts = ag.initAg(arch, bb, asSrc, stts)
     
can be replaced by
     new TransitionSystem(ag, new Circumstance(), stts, arch);
     ag.setBB(bb); // only if you use a custom BB
     ag.initAg(asSrc);
     TransitionSystem ts = ag.getTS();
     
 
jason.architecture.AgArch.initAg(String, ClassParameters, String, Settings)
          for arch initialisation you should override the init() method. 
jason.asSyntax.PlanLibrary.isRelevant(Trigger)
          use hasCandidatePlan(te) instead 
jason.environment.grid.Location.maxBorder(Location)
          renamed to distanceChessboard 
jason.asSyntax.DefaultTerm.parse(String)
          it is preferable to use ASSyntax.parseTerm 
jason.asSyntax.VarTerm.parseVar(String)
          prefer ASSyntax.parseVar(...) 
 

Deprecated Constructors
jason.asSyntax.NumberTermImpl(String)
          prefer to use ASSyntax.parseNumber