mpp_split: tweak split parameters
Increases STARTING_CONFIGS to sample more starting configurations. Reduces CANDIDATES_PER_LEVEL to reduce computational effort. Increases REDISTRIBUTE. The time it takes for a typical suggest_split call is about 2 msec a desktop machine.
This commit is contained in:
@@ -12,9 +12,9 @@ REDISTRIBUTION_FRACTION = 10
|
|||||||
SPLIT_FRACTION = 10
|
SPLIT_FRACTION = 10
|
||||||
|
|
||||||
# these parameters affect the computational work in the probabilistic algorithm
|
# these parameters affect the computational work in the probabilistic algorithm
|
||||||
STARTING_CONFIGS = 30
|
STARTING_CONFIGS = 50
|
||||||
CANDIDATES_PER_LEVEL = 20
|
CANDIDATES_PER_LEVEL = 10
|
||||||
REDISTRIBUTE = 5
|
REDISTRIBUTE = 10
|
||||||
|
|
||||||
|
|
||||||
def unique_hierarchy(hierarchy: Dict[int, List[Dict[bytes, int]]]) -> Dict[int, List[Dict[bytes, int]]]:
|
def unique_hierarchy(hierarchy: Dict[int, List[Dict[bytes, int]]]) -> Dict[int, List[Dict[bytes, int]]]:
|
||||||
|
|||||||
Reference in New Issue
Block a user