|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Activity | |
---|---|
se.liu.ida.critiquer.activities | Activity package Classes that define the basic behaviour of classes. |
se.liu.ida.critiquer.activities.parameters | Parameters of activities Classes related to parameters that define activities. |
se.liu.ida.critiquer.communication | Communication package Here we will have classes and interfaces for using PeerRMI (RMI over JXTA) to enable automatic discovery of other planning tools on the network. |
se.liu.ida.critiquer.constraints | |
se.liu.ida.critiquer.gui | GUI package Classes determining the visual appearance of the planning tool, with all the views necessary. |
se.liu.ida.critiquer.gui.graph | Graph representation classes. |
se.liu.ida.critiquer.mics | |
se.liu.ida.critiquer.resources | Classes that define the resources/units/agents in activities. |
se.liu.ida.critiquer.scenarios.recon | |
se.liu.ida.critiquer.scenarios.standard | |
se.liu.ida.critiquer.simulation |
Uses of Activity in se.liu.ida.critiquer.activities |
---|
Subclasses of Activity in se.liu.ida.critiquer.activities | |
---|---|
class |
ToplevelActivity
|
Methods in se.liu.ida.critiquer.activities with type parameters of type Activity | ||
---|---|---|
|
ActivityFactory.createActivity(Class<T> activityClass)
|
Methods in se.liu.ida.critiquer.activities that return Activity | |
---|---|
static Activity |
ActivityUtils.getActivityByName(Comparable name)
|
Activity |
Activity.getParent()
|
Activity |
Activity.getRootActivity()
|
Methods in se.liu.ida.critiquer.activities that return types with arguments of type Activity | |
---|---|
ArrayList<Class<? extends Activity>> |
ActivityFactory.getActivityClasses()
|
ArrayList<Activity> |
Activity.getChildren()
|
Methods in se.liu.ida.critiquer.activities with parameters of type Activity | ||
---|---|---|
void |
ActivityUpdateListener.activityCreated(Activity activity)
The activity has just been created |
|
void |
AbstractParamChangedListener.activityCreated(Activity activity)
|
|
void |
ActivityUpdateListener.activityRemoved(Activity activity)
The activity was just removed |
|
void |
AbstractParamChangedListener.activityRemoved(Activity activity)
|
|
void |
ActivityUpdateListener.activityUpdated(Activity activity)
The activity has undergone major changes, refresh all information dependent on it. |
|
void |
AbstractParamChangedListener.activityUpdated(Activity activity)
|
|
void |
AbstractActivityCreatedListener.activityUpdated(Activity a)
|
|
void |
Activity.addChild(Activity child)
|
|
static void |
ActivityUtils.addCommanderParameter(Activity activity)
|
|
static void |
ActivityUtils.addMaxTimeParameter(Activity activity)
|
|
static boolean |
ActivityUtils.agentInActivity(Agent agent,
Activity activity)
|
|
boolean |
Activity.canBeChildOf(Activity parent)
Can this activity be a child of parent? |
|
boolean |
Activity.canComeBefore(Activity activity)
Can this activity come before activity in a mission? |
|
boolean |
ActivityConsistencyCheck.childOfCheck(Activity parentActivity,
Activity Child)
|
|
boolean |
AbstractParamValueCheck.childOfCheck(Activity parentActivity,
Activity Child)
Allow all parent-child relationships |
|
static
|
ActivityUtils.filterParams(Activity a,
Class<T> c)
|
|
static HashSet<Agent> |
ActivityUtils.getAgentsInActivity(Activity a)
|
|
static Commander |
ActivityUtils.getCommander(Activity activity)
|
|
static CommanderParameter |
ActivityUtils.getCommanderParameter(Activity a)
|
|
static Long |
ActivityUtils.getCurrentTimeForActivity(Activity activity)
Returns the current distance between the values of the start time parameter and the end time parameter |
|
static TimeParameter |
ActivityUtils.getEndTimeParameter(Activity a)
|
|
static AgentParameter |
ActivityUtils.getMainAgentParameter(Activity a)
|
|
static NumberSelectionParameter |
ActivityUtils.getMaxTimeParameter(Activity activity)
|
|
static NameParameter |
ActivityUtils.getNameParameter(Activity a)
|
|
static
|
ActivityUtils.getParamByClassAndName(Activity a,
Class<T> c,
String name)
|
|
static ActivityParameter |
ActivityUtils.getParamByName(Activity a,
String name)
|
|
static TimeParameter |
ActivityUtils.getStartTimeParameter(Activity a)
Retrieves the first time interval parameter |
|
int |
Activity.indexOfChild(Activity activity)
|
|
void |
Activity.initParentRelationship(Activity parent)
Called when an activity is added to an overarching activity. |
|
static
|
Activity.isConsistent(Activity a,
Parameter<T> p,
T newValue)
|
|
void |
Activity.order(Activity laterActivity)
Introduce an ordering between two activities by ordering the end time parameter of the current activity before the start time parameter of a2. |
|
boolean |
ActivityConsistencyCheck.orderingCheck(Activity beforeActivity,
Activity AfterActivity)
|
|
boolean |
AbstractParamValueCheck.orderingCheck(Activity beforeActivity,
Activity AfterActivity)
Allow all orderings |
|
static boolean |
ActivityUtils.overlap(Activity a1,
Activity a2)
Checks if two activities overlap in time |
|
|
ActivityUpdateListener.paramAdded(Activity activity,
Parameter<T> p)
A parameter has been added |
|
|
AbstractParamChangedListener.paramAdded(Activity activity,
Parameter<T> p)
|
|
|
AbstractActivityCreatedListener.paramAdded(Activity activity,
Parameter<T> p)
|
|
|
ActivityUpdateListener.paramChanged(Activity activity,
Parameter<T> p)
A parameter has changed value |
|
abstract
|
AbstractParamChangedListener.paramChanged(Activity activity,
Parameter<T> p)
|
|
|
AbstractActivityCreatedListener.paramChanged(Activity activity,
Parameter<T> p)
|
|
|
ActivityConsistencyCheck.paramValueCheck(Activity a,
Parameter<T> p,
T newValue)
Whenever a paramChanged event occurs, this method is called in all registered ActivityConsistencyCheck listeners that are available in an activity. |
|
void |
Activity.removeChild(Activity currentActivity)
|
|
static void |
ActivityUtils.removeConstraintsForActivity(Activity currentActivity)
|
|
void |
Activity.removeOrder(Activity laterActivity)
Remove the temporal ordering between the current activity and a2 TODO: This could be an instance method so that additional ordering information could be added by subclasses, if location parameters need to be syncronized for instance |
|
void |
Activity.setParent(Activity parent)
|
Method parameters in se.liu.ida.critiquer.activities with type arguments of type Activity | |
---|---|
void |
Activity.addAll(ArrayList<Activity> c)
|
Constructors in se.liu.ida.critiquer.activities with parameters of type Activity | |
---|---|
Activity(Activity parent)
|
|
Activity(String type,
Activity parent)
|
|
ToplevelActivity(Activity parent)
|
|
ToplevelActivity(String type,
Activity parent)
|
Uses of Activity in se.liu.ida.critiquer.activities.parameters |
---|
Methods in se.liu.ida.critiquer.activities.parameters that return Activity | |
---|---|
Activity |
ActivityParameter.getActivity()
|
Methods in se.liu.ida.critiquer.activities.parameters that return types with arguments of type Activity | |
---|---|
ArrayList<Activity> |
Commander.getActivities()
get the activities that have this commander as the value of their CommanderParameter. |
ArrayList<Activity> |
Commander.getActivitiesFrom(Activity rootActivity)
Recurse through the activity tree starting at rootActivity and return a list of all activities. |
ArrayList<Activity> |
Commander.getAllActivities()
Recurse through the activity forest and return a list of all activities. |
Methods in se.liu.ida.critiquer.activities.parameters with parameters of type Activity | |
---|---|
void |
Commander.addActivity(Activity a)
Add an activity directly controlled by this commander |
void |
Commander.addActivityToAgentMappings(Activity a)
|
void |
Commander.addMapping(Activity activity,
Agent agent)
|
void |
Commander.agentRemoved(Activity activity,
Agent agent)
|
boolean |
AgentParameter.deSelectAgent(Agent agent,
Activity activity)
Check with the consistency checkers in Activity if it is OK to remove this agent and remove it in such case. |
ArrayList<Activity> |
Commander.getActivitiesFrom(Activity rootActivity)
Recurse through the activity tree starting at rootActivity and return a list of all activities. |
HashSet<Agent> |
Commander.getAgentsInActivity(Activity activity)
|
void |
Commander.removeActivity(Activity a)
Used when an activity that had this commander get a different one (or none at all) |
void |
Commander.removeActivityFromAgentMappings(Activity a)
Used when an activity is no longer among the indirectly controlled activities under this commander. |
Constructors in se.liu.ida.critiquer.activities.parameters with parameters of type Activity | |
---|---|
AbstractTaskViewParameter(String name,
Activity activity)
|
|
ActivityParameter(String name,
Activity activity)
|
|
CommanderParameter(String name,
Activity activity)
|
|
DescriptionParameter(Activity activity)
|
|
DescriptionParameter(String name,
Activity activity)
|
|
LocationParameter(LocationParameter.Type type,
String name,
Activity a)
|
|
NameParameter(Activity activity)
|
|
NameParameter(String name,
Activity activity)
|
|
NumberSelectionParameter(Activity a,
String name,
Vector<Integer> range,
Integer defaultValue)
|
|
SelectionParameter(String name,
Activity activity)
|
|
TimeParameter(String name,
TimeParameter.Type type,
Activity a)
|
Uses of Activity in se.liu.ida.critiquer.communication |
---|
Methods in se.liu.ida.critiquer.communication with parameters of type Activity | ||
---|---|---|
void |
PlanProxy.activityCreated(Activity activity)
Add information to the update cache and dispatch to the update thread. |
|
void |
PlanProxy.activityRemoved(Activity activity)
Add information to the update cache and dispatch to the update thread. |
|
void |
RemotePlanListener.activityUpdated(Activity activity)
|
|
void |
RemoteAgentMutexConstraint.activityUpdated(Activity activity)
Dispatch to the local AgentMutext critic, if one exists |
|
void |
PlanProxy.activityUpdated(Activity activity)
Add information to the update cache and dispatch to the update thread. |
|
|
PlanProxy.paramAdded(Activity activity,
Parameter<T> p)
Ignored for remote plans |
|
|
PlanProxy.paramChanged(Activity activity,
Parameter<T> p)
Add information to the update cache and dispatch to the update thread. |
Uses of Activity in se.liu.ida.critiquer.constraints |
---|
Fields in se.liu.ida.critiquer.constraints with type parameters of type Activity | |
---|---|
protected ArrayList<Class<? extends Activity>> |
StructureCritic.applicableClasses
A structure critic can be applicable to one or more activity classes |
protected HashMap<Activity,String> |
StructureCritic.errorMessages
|
protected HashMap<Activity,Boolean> |
StandardConstraint.violationActivities
|
Methods in se.liu.ida.critiquer.constraints that return types with arguments of type Activity | |
---|---|
HashMap<Activity,String> |
StructureCritic.getErrorMessages()
|
Methods in se.liu.ida.critiquer.constraints with parameters of type Activity | ||
---|---|---|
void |
TooLongTime.activityCreated(Activity activity)
|
|
void |
StructureCritic.activityCreated(Activity activity)
Checks the consistency |
|
void |
StructureCritic.activityRemoved(Activity activity)
Checks the consistency |
|
void |
TooLongTime.activityUpdated(Activity activity)
|
|
void |
StructureCritic.activityUpdated(Activity activity)
Checks the consistency |
|
boolean |
StructureCritic.applicableForActivity(Activity activity)
Is there a class among the ones in applicableClasses that is assignment-compatible with the class of the argument activity? |
|
abstract Pair<Boolean,String> |
StructureCritic.check(Activity activity)
This method checks if an activity is consistent with respect to some structural property, such as that it should be completely specified, have an agent, have a parent activity and so on. |
|
Pair<Boolean,String> |
AgentMutex.check(Activity a)
The activity parameter is null here since we are called from an AgentParameter which is not directly connected to an activity. |
|
protected void |
StructureCritic.checkAndUpdate(Activity activity)
|
|
static TimeParameterOrdering |
ConstraintFactory.connectEndToEnd(Activity parent,
Activity child)
Used when creating a sub-activity that is supposed to be performed within the time frame of the parent activity. |
|
static TimeParameterOrdering |
ConstraintFactory.connectEndToStart(Activity a1,
Activity a2)
Connect two activities to form a sequence. |
|
static TimeParameterOrdering |
ConstraintFactory.connectStartToEnd(Activity a)
Make sure the activity is internally consistent so that start always comes before end |
|
static TimeParameterOrdering |
ConstraintFactory.connectStartToStart(Activity a1,
Activity a2)
Used when creating a sub-activity that is supposed to be performed within the time frame of the parent activity. |
|
String |
StructureCritic.getErrorMessage(Activity activity)
Returns an error message for this activity. |
|
boolean |
StructureCritic.isConsistent(Activity activity)
|
|
boolean |
ActivityStructureCritic.isConsistent(Activity activity)
|
|
|
TooLongTime.paramChanged(Activity activity,
Parameter<T> p)
|
|
|
TimeCalculator.paramChanged(Activity activity,
Parameter<T> p)
|
|
|
TestActivityArea.paramChanged(Activity activity,
Parameter<T> p)
|
|
|
StructureCritic.paramChanged(Activity activity,
Parameter<T> p)
Checks the consistency |
|
|
SimulationCritic.paramChanged(Activity activity,
Parameter<T> p)
simulation critics don't care about parameter updates, only simulation events. |
|
|
ResourceUsageCritic.paramChanged(Activity activity,
Parameter<T> p)
|
|
|
NonSuitableAgent.paramChanged(Activity activity,
Parameter<T> p)
|
|
|
ActivityStructureCritic.paramChanged(Activity activity,
Parameter<T> p)
If one of the structure critics returns false, our status should be "inconsistent", otherwise consistent. |
Method parameters in se.liu.ida.critiquer.constraints with type arguments of type Activity | |
---|---|
void |
StructureCritic.addApplicableClass(Class<? extends Activity> activityClass)
|
Uses of Activity in se.liu.ida.critiquer.gui |
---|
Fields in se.liu.ida.critiquer.gui declared as Activity | |
---|---|
protected Activity |
ResourceView.selectedActivity
|
Methods in se.liu.ida.critiquer.gui that return types with arguments of type Activity | |
---|---|
HashMap<Activity,Rectangle2D> |
TimeView.getActivityAreas()
|
List<Activity> |
View.getEvaluationActivities()
|
ArrayList<Activity> |
TimeView.getEvaluationActivities()
One may select only a set of activities in the Time View for which time charts should be drawn. |
List<Activity> |
TaskView.getEvaluationActivities()
|
ArrayList<Activity> |
ResourceView.getEvaluationActivities()
|
ArrayList<Activity> |
GeoView.getEvaluationActivities()
|
Methods in se.liu.ida.critiquer.gui with parameters of type Activity | ||
---|---|---|
void |
TimeView.activityCreated(Activity activity)
|
|
void |
TimeView.activityRemoved(Activity a)
|
|
void |
TimeView.activityUpdated(Activity a)
|
|
Shape |
View.getActivityArea(Activity activity)
A view should render activities as either components or as Java 2D Shapes. |
|
Rectangle2D |
TimeView.getActivityArea(Activity activity)
|
|
Rectangle |
TaskView.getActivityArea(Activity a)
|
|
Shape |
ResourceView.getActivityArea(Activity activity)
|
|
Shape |
GeoView.getActivityArea(Activity activity)
|
|
static Rectangle |
TaskView.getActivityArea(JGraph graph,
Activity a)
|
|
|
TimeView.paramAdded(Activity activity,
Parameter<T> p)
|
|
|
TimeView.paramChanged(Activity activity,
Parameter<T> p)
Recalculate the time chart based on when parameters change. |
|
protected void |
ResourceView.updateResourcePanel(Activity activity)
|
Uses of Activity in se.liu.ida.critiquer.gui.graph |
---|
Methods in se.liu.ida.critiquer.gui.graph that return Activity | |
---|---|
Activity |
ActivityNode.getActivity()
|
Activity |
OrderingEdge.getAfterActivity()
|
Activity |
OrderingEdge.getBeforeActivity()
|
Activity |
InheritanceEdge.getChild()
|
Activity |
InheritanceEdge.getParent()
|
Uses of Activity in se.liu.ida.critiquer.mics |
---|
Fields in se.liu.ida.critiquer.mics declared as Activity | |
---|---|
static Activity |
ReferenceHolder.selectedActivity
Activity that is currently selected in some view and may therefore be of particular interest to critics that highlight information on the currently selected activity. |
Fields in se.liu.ida.critiquer.mics with type parameters of type Activity | |
---|---|
static ArrayList<Class<? extends Activity>> |
ReferenceHolder.activityClasses
The activity classes used in the current scenario. |
static HashSet<Activity> |
ReferenceHolder.allActivities
Static reference to a set of all activities that are created. |
Uses of Activity in se.liu.ida.critiquer.resources |
---|
Classes in se.liu.ida.critiquer.resources with type parameters of type Activity | |
---|---|
interface |
AgentContributionCalculator<T extends Activity>
Interface for functions defined by agents that calculate how long a mission takes to complete. |
Methods in se.liu.ida.critiquer.resources with type parameters of type Activity | ||
---|---|---|
|
Agent.perform(Class<T> activityClass,
T activity,
HashMap<Activity.Properties,Integer> activityAttributes)
Perform activity of class activityClass by
dispatching to the appropriate procedure. |
Methods in se.liu.ida.critiquer.resources that return types with arguments of type Activity | |
---|---|
ArrayList<Activity> |
Agent.getActivitiesForAgent()
|
Methods in se.liu.ida.critiquer.resources with parameters of type Activity | |
---|---|
static Suitability |
Agent.getSuitability(Agent agent,
Activity activity)
Should agents or constraints be responsible for knowing which agent is suitable for which task? |
Uses of Activity in se.liu.ida.critiquer.scenarios.recon |
---|
Methods in se.liu.ida.critiquer.scenarios.recon with type parameters of type Activity | ||
---|---|---|
|
ReconActivityFactory.createActivity(Class<T> activityClass)
|
Methods in se.liu.ida.critiquer.scenarios.recon that return types with arguments of type Activity | |
---|---|
ArrayList<Class<? extends Activity>> |
ReconActivityFactory.getActivityClasses()
|
Uses of Activity in se.liu.ida.critiquer.scenarios.standard |
---|
Subclasses of Activity in se.liu.ida.critiquer.scenarios.standard | |
---|---|
class |
DefaultActivity
|
class |
DispatchActivity
|
class |
FirstAidActivity
|
class |
RecoverActivity
|
class |
RoadBlockActivity
|
Methods in se.liu.ida.critiquer.scenarios.standard with type parameters of type Activity | ||
---|---|---|
|
StandardActivityFactory.createActivity(Class<T> activityClass)
Create an activity using the constructor which takes only a parent activity and pass null as reference to the parent. |
Methods in se.liu.ida.critiquer.scenarios.standard that return Activity | |
---|---|
Activity |
StandardActivityFactory.selectActivityType(JFrame parentFrame)
|
Methods in se.liu.ida.critiquer.scenarios.standard that return types with arguments of type Activity | |
---|---|
ArrayList<Class<? extends Activity>> |
StandardActivityFactory.getActivityClasses()
|
Methods in se.liu.ida.critiquer.scenarios.standard with parameters of type Activity | ||
---|---|---|
boolean |
CorrectOrdering.childOfCheck(Activity parentActivity,
Activity Child)
|
|
void |
FirstAidActivity.order(Activity laterActivity)
Add location parameter dependency |
|
void |
DispatchActivity.order(Activity laterActivity)
Add location parameter dependency |
|
boolean |
CorrectOrdering.orderingCheck(Activity beforeActivity,
Activity afterActivity)
Checks the ordering consistency |
|
|
CorrectOrdering.paramChanged(Activity activity,
Parameter<T> p)
|
|
|
CorrectOrdering.paramValueCheck(Activity a,
Parameter<T> p,
T newValue)
|
|
void |
DispatchActivity.removeOrder(Activity laterActivity)
When removing ordering constraints, create a new stationary location for the activity that is decuopled from this one. |
Method parameters in se.liu.ida.critiquer.scenarios.standard with type arguments of type Activity | |
---|---|
(package private) static StructureCritic |
StandardActivityFactory.createAgentAvailableCritic(Class<? extends Activity> activityClass)
|
static StructureCritic |
StandardActivityFactory.createNoInjuredCritic(Class<? extends Activity> activityClass)
|
static StructureCritic |
StandardActivityFactory.createTransportLocationsCritic(Class<? extends Activity> activityClass)
|
Constructors in se.liu.ida.critiquer.scenarios.standard with parameters of type Activity | |
---|---|
DefaultActivity(Activity parent)
|
|
DefaultActivity(String type,
Activity parent)
|
|
DispatchActivity(Activity parent)
|
|
FirstAidActivity(Activity parent)
|
|
RecoverActivity(Activity parent)
|
|
RoadBlockActivity(Activity parent)
|
Uses of Activity in se.liu.ida.critiquer.simulation |
---|
Methods in se.liu.ida.critiquer.simulation with parameters of type Activity | |
---|---|
void |
DefaultAgentSimulationState.consumeActivity(Activity activity)
When activity has finished, calculate how properties of
the agent are modified |
void |
AgentSimulationState.consumeActivity(Activity activity)
It can be useful to simulate only isolated activities, in which case this method can be used. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |