File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,7 @@ is_viable(layer::Layer, w) = exclu(layer) ? as_int(w) < length(layer) : any(w)
60
60
61
61
"""
62
62
generate_inclusive_operations(predicate, bits)
63
- generate_exclusive_operation(max_op_number)
64
- Generates the operations (weigths) of a layer with inclusive/exclusive operations.
63
+ Generates the operations (weigths) of a layer with inclusive operations.
65
64
"""
66
65
function generate_inclusive_operations (predicate, bits)
67
66
ind = falses (bits)
@@ -72,6 +71,10 @@ function generate_inclusive_operations(predicate, bits)
72
71
return ind
73
72
end
74
73
74
+ """
75
+ generate_exclusive_operation(max_op_number)
76
+ Generates the operations (weigths) of a layer with exclusive operations.
77
+ """
75
78
function generate_exclusive_operation (max_op_number)
76
79
op = rand (1 : max_op_number)
77
80
return as_bitvector (op, max_op_number)
You can’t perform that action at this time.
0 commit comments