## Uses of Class
agents.context.Context

Packages that use Context
agents
agents.context
agents.head
agents.localModel
kernel
observation
view.system.paving

### Uses of Context in agents

Methods in agents that return types with arguments of type Context
`java.util.ArrayList<Context>` Percept.`getContextIncluding(double v)` Gets the context including.

### Uses of Context in agents.context

Methods in agents.context that return Context
`Context` Range.`getContext()` Gets the context.

Methods in agents.context with parameters of type Context
`void` Range.`adapt(Context c, double oracleValue, Percept p)` Method called by the context agent.
`void` Range.`matchBorderWith(Context c)` Match border with.
`void` Range.`setContext(Context context)` Sets the context.
`void` Context.`shrinkRangesToJoinBorders(Head head, Context c)` Shrink ranges to join borders.

Constructors in agents.context with parameters of type Context
Constructor and Description
`Context(Context c)` Instantiates a new context.
`Range(Context context, double start, double end, double extendedrangeatcreation, boolean start_inclu, boolean end_inclu, Percept p)` Instantiates a new range.

### Uses of Context in agents.head

Methods in agents.head that return Context
`Context` Head.`getBestContext()` Gets the best context.
`Context` Head.`getLastUsedContext()` Gets the last used context.
`Context` Head.`getNewContext()` Gets the new context.

Methods in agents.head that return types with arguments of type Context
`java.util.ArrayList<Context>` Head.`getActiveContexts()` Gets the active contexts.
`java.util.ArrayList<Context>` Head.`getContexts()` Gets the contexts.

Methods in agents.head with parameters of type Context
`double` Head.`getCriticity(Context context)` Gets the criticity.
`void` Head.`setBestContext(Context bestContext)` Sets the best context.
`void` Head.`setLastUsedContext(Context lastUsedContext)` Sets the last used context.
`void` Head.`setNewContext(Context newContext)` Sets the new context.

Method parameters in agents.head with type arguments of type Context
`void` Head.`setContexts(java.util.ArrayList<Context> contexts)` Sets the contexts.

### Uses of Context in agents.localModel

Methods in agents.localModel with parameters of type Context
`java.lang.String` LocalModelMillerRegression.`getFormula(Context context)`
`java.lang.String` LocalModelFirstExp.`getFormula(Context context)`
`java.lang.String` LocalModelAverage.`getFormula(Context context)`
`abstract java.lang.String` LocalModelAgent.`getFormula(Context context)` Gets the formula.
`double` LocalModelMillerRegression.`getProposition(Context context)`
`double` LocalModelFirstExp.`getProposition(Context context)`
`double` LocalModelAverage.`getProposition(Context context)`
`abstract double` LocalModelAgent.`getProposition(Context context)` Gets the proposition.
`double` LocalModelMillerRegression.`getProposition(Context context, Percept p1, Percept p2, double v1, double v2)`
`double` LocalModelFirstExp.`getProposition(Context context, Percept p1, Percept p2, double v1, double v2)`
`double` LocalModelAverage.`getProposition(Context context, Percept p1, Percept p2, double v1, double v2)`
`abstract double` LocalModelAgent.`getProposition(Context context, Percept p1, Percept p2, double v1, double v2)` Version of getProposition for 2D display.
`void` LocalModelMillerRegression.`updateModel(Context context)`
`void` LocalModelFirstExp.`updateModel(Context context)`
`void` LocalModelAverage.`updateModel(Context context)`
`abstract void` LocalModelAgent.`updateModel(Context context)` Update model.

### Uses of Context in kernel

Methods in kernel that return types with arguments of type Context
`java.util.ArrayList<Context>` AMOEBA.`getAllValidContextBut(java.util.HashMap<java.lang.String,java.lang.Double> values, java.lang.String s)` Gets the all valid context but.
`java.util.ArrayList<Context>` AMOEBA.`getAllValidContextBut(java.lang.String s)` Gets the all valid context but.
`java.util.ArrayList<Context>` Scheduler.`getAlteredContexts()` Gets the altered contexts.
`java.util.ArrayList<Context>` Scheduler.`getContextsAsContext()` Gets the contexts as context.

Methods in kernel with parameters of type Context
`void` Scheduler.`addAlteredContext(Context context)` Adds the altered context.
`LocalModelAgent` World.`buildLocalModel(Context context)` Builds the local model.
`void` Scheduler.`removeValidContextFromList(Context agent)` Removes the valid context from list.

Method parameters in kernel with type arguments of type Context
`void` World.`destroy(java.lang.Class<Context> cl)` Destroy.
`void` Scheduler.`setAlteredContexts(java.util.ArrayList<Context> alteredContexts)` Sets the altered contexts.

### Uses of Context in observation

Methods in observation that return Context
`Context` Observation.`getContextById(java.lang.String id)` Gets the context by id.

Methods in observation that return types with arguments of type Context
`java.util.ArrayList<Context>` Observation.`getContextList()` Gets the context list.

Methods in observation with parameters of type Context
`void` Observation.`addContextList(Context c)` Adds the context list.

### Uses of Context in view.system.paving

Methods in view.system.paving that return Context
`Context` PavingContext.`getContext()` Gets the context.

Methods in view.system.paving with parameters of type Context
`void` PavingContext.`setContext(Context context)` Sets the context.

Constructors in view.system.paving with parameters of type Context
Constructor and Description
`PavingContext(JJPanel parent, double xx, double yy, Context context, double scale, Panel1DPaving paving, int index)` Instantiates a new paving context.