Skip to content

Commit e2edcd0

Browse files
committed
add config options for narrow deep paths mutation
1 parent 79e2c54 commit e2edcd0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/defaults.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
MUTPB_FV_SAMPLE_MAXN = 32 # max n of instantiations to sample from top k
7979
MUTPB_FV_QUERY_LIMIT = 256 # SPARQL query limit for the top k instantiations
8080
MUTPB_SP = 0.05 # prob to simplify pattern (warning: can restrict exploration)
81-
81+
MUTPB_DN = 0.05 # prob to try a deep and narrow paths mutation
82+
MUTPB_DN_MIN_LEN = 2 # minimum length of the deep and narrow paths
83+
MUTPB_DN_MAX_LEN = 10 # absolute max of path length if not stopped by term_pb
84+
MUTPB_DN_TERM_PB = 0.3 # prob to terminate node expansion each step > min_len
8285
# for import in helpers and __init__
8386
__all__ = [_v for _v in globals().keys() if _v.isupper()]

0 commit comments

Comments
 (0)