Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | # Author: Simon Blanke |
||
2 | # Email: [email protected] |
||
3 | # License: MIT License |
||
4 | |||
5 | |||
6 | from ..local_opt import HillClimbingOptimizer |
||
7 | |||
8 | |||
9 | class Individual(HillClimbingOptimizer): |
||
10 | def __init__(self, *args, rand_rest_p=0.03, **kwargs): |
||
11 | super().__init__(*args, **kwargs) |
||
12 | self.rand_rest_p = rand_rest_p |
||
13 | |||
14 | def mutate(self): |
||
15 | pass |
||
16 |