Passed
Push — master ( b4d881...21cb52 )
by Simon
02:57
created

Individual.mutate()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nop 1
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