Skip to content

Commit

Permalink
Adds a more meaningful documentation to 'seed' (cf. #3300)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisDrogoul committed Feb 11, 2022
1 parent d23ad76 commit 0e57d04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@
name = IKeyword.SEED,
type = IType.FLOAT,
doc = @doc (
value = "The seed of the random number generator",
comment = "Each time it is set, the random number generator is reinitialized")),
value = "The seed of the random number generator. Each time it is set, the random number generator is reinitialized. WARNING: Setting it to zero actually means that you let GAMA choose a random seed")),
@variable (
name = IKeyword.RNG,
type = IType.STRING,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
* @todo Description
*
*/

/**
* The Class SimulationAgent.
*/
@species (
name = IKeyword.MODEL,
internal = true)
Expand All @@ -89,8 +93,7 @@
name = IKeyword.SEED,
type = IType.FLOAT,
doc = @doc (
value = "The seed of the random number generator",
comment = "Each time it is set, the random number generator is reinitialized")),
value = "The seed of the random number generator. Each time it is set, the random number generator is reinitialized. WARNING: Setting it to zero actually means that you let GAMA choose a random seed.")),
@variable (
name = IKeyword.RNG,
type = IType.STRING,
Expand Down

0 comments on commit 0e57d04

Please sign in to comment.