We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8b4f77 commit 47093d4Copy full SHA for 47093d4
1 file changed
RATapi/controls.py
@@ -56,7 +56,7 @@ class Controls(BaseModel, validate_assignment=True, extra="forbid"):
56
updatePlotFreq: int = 20
57
# DE
58
populationSize: int = Field(20, ge=1)
59
- fWeight: float = 0.5
+ fWeight: float = Field(0.5, gt=0.0)
60
crossoverProbability: float = Field(0.8, gt=0.0, lt=1.0)
61
strategy: Strategies = Strategies.RandomWithPerVectorDither
62
targetValue: float = Field(1.0, ge=1.0)
0 commit comments