Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
class IterationStopCriteriaStrategy(object):
"""
A very simple implementation of a stop criteria strategy which does not stop the sampling until the max iteration is reached.
def __init__(self):
default constructor
pass
def setup(self, sampler):
setup the strategy
self.sampler = sampler
def hasFinished(self):
always returns false
return False
def __str__(self, *args, **kwargs):
return "IterationStopCriteriaStrategy"