-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A src/list/raxos/evolution/src/config.rs
- Loading branch information
1 parent
1a02514
commit 57f548a
Showing
3 changed files
with
149 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pub struct Config { | ||
pub n_points_per_scene: usize, | ||
|
||
/// The number of round to evolve. | ||
pub n_round: usize, | ||
|
||
/// Number of variants to spawn for each contour | ||
pub n_spawn: usize, | ||
|
||
/// The probability of moving a point, adding a point, or removing a point | ||
pub variant_weight: (f64, f64, f64), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.