Skip to content

Commit

Permalink
Fixes #2042
Browse files Browse the repository at this point in the history
Signed-off-by: AlexisDrogoul <alexis.drogoul@gmail.com>
  • Loading branch information
AlexisDrogoul committed Nov 9, 2016
1 parent 54b1230 commit aab1cf0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@
@facet (
name = IKeyword.SCHEDULES,
type = IType.CONTAINER,
of = IType.AGENT,
optional = true,
internal = true,
doc = @doc ("an ordered list of agents giving the order of their execution")),
doc = @doc ("A container of agents (a species, a dynamic list, or a combination of species and containers) , which represents which agents will be actually scheduled when the population is scheduled for execution. For instance, 'species a schedules: (10 among a)' will result in a population that schedules only 10 of its own agents every cycle. 'species b schedules: []' will prevent the agents of 'b' to be scheduled. Note that the scope of agents covered here can be larger than the population, which allows to build complex scheduling controls; for instance, defining 'global schedules: [] {...} species b schedules: []; species c schedules: b + world; ' allows to simulate a model where the agents of b are scheduled first, followed by the world, without even having to create an instance of c.")),
@facet (
name = IKeyword.KEEP_SEED,
type = IType.BOOL,
Expand Down
2 changes: 2 additions & 0 deletions msi.gama.core/src/msi/gama/kernel/model/GamlModelSpecies.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
@facet (
name = IKeyword.SCHEDULES,
type = IType.CONTAINER,
of = IType.AGENT,
doc = @doc ("A container of agents (a species, a dynamic list, or a combination of species and containers) , which represents which agents will be actually scheduled when the population is scheduled for execution. For instance, 'species a schedules: (10 among a)' will result in a population that schedules only 10 of its own agents every cycle. 'species b schedules: []' will prevent the agents of 'b' to be scheduled. Note that the scope of agents covered here can be larger than the population, which allows to build complex scheduling controls; for instance, defining 'global schedules: [] {...} species b schedules: []; species c schedules: b + world; ' allows to simulate a model where the agents of b are scheduled first, followed by the world, without even having to create an instance of c."),
optional = true),
@facet (
name = IKeyword.TOPOLOGY,
Expand Down
1 change: 1 addition & 0 deletions msi.gama.core/src/msi/gaml/species/GamlSpecies.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
@facet (
name = IKeyword.SCHEDULES,
type = IType.CONTAINER,
of = IType.AGENT,
optional = true,
doc = @doc ("A container of agents (a species, a dynamic list, or a combination of species and containers) , which represents which agents will be actually scheduled when the population is scheduled for execution. For instance, 'species a schedules: (10 among a)' will result in a population that schedules only 10 of its own agents every cycle. 'species b schedules: []' will prevent the agents of 'b' to be scheduled. Note that the scope of agents covered here can be larger than the population, which allows to build complex scheduling controls; for instance, defining 'global schedules: [] {...} species b schedules: []; species c schedules: b + world; ' allows to simulate a model where the agents of b are scheduled first, followed by the world, without even having to create an instance of c.")),
@facet (
Expand Down

0 comments on commit aab1cf0

Please sign in to comment.