Is there a better way to define a constructor that allows for optional params or a small amount of logic without having to rewrite all the properties three times?
mutable struct AcRepertoireIrreducibilityAnalysis <: Orderable
self,
alpha,
state,
direction,
mechanism,
purview,
partition,
probability,
partitioned_probability,
node_labels
function AcRepertoireIrreducibilityAnalysis(
self,
alpha,
state,
direction,
mechanism,
purview,
partition,
probability,
partitioned_probability,
node_labels=nothing,
)
new(
self,
alpha,
state,
direction,
mechanism,
purview,
partition,
probability,
partitioned_probability,
node_labels
)
end
end