(Options.option(Options.eitherReaderreadCount)(Options.long"different-values"<>Options.metavar"NUM"<>Options.help"Maximal number of differnt monoid values to generate"))
(Options.option
(Options.eitherReaderreadCount)
(Options.long"different-values"
<>Options.metavar"NUM"
<>Options.help
"Maximal number of differnt monoid values to generate"
)
)
parseZeroFreq::Options.ParserZeroFrequency
parseZeroFreq=(Percentage<$>Options.option
(Options.eitherReaderreadProbability)
(Options.long"zero-frequency"
<>Options.showDefault
<>Options.value0.7
<>Options.metavar"FREQ"
parseZeroFreq=
(Percentage<$>Options.option
(Options.eitherReaderreadProbability)
(Options.long"zero-frequency"
<>Options.showDefault
<>Options.value0.7
<>Options.metavar"FREQ"
<>Options.help
"Frequency of edges with zero weight as number between 0 and 1."
)
)
<|>(OutDegree<$>Options.option
Options.auto
(Options.long"out-degree"
<>Options.metavar"NUM_TRANSITIONS"
<>Options.help
"Frequency of edges with zero weight as number between 0 and 1."
))
<|>(OutDegree<$>Options.optionOptions.auto(Options.long"out-degree"<>Options.metavar"NUM_TRANSITIONS"<>Options.help("Expected number of outgoing transitions per state."<>" This calculates the zero frequency from the number of states, symbols and this parameter.")))
("Expected number of outgoing transitions per state."
<>" This calculates the zero frequency from the number of states, symbols and this parameter."
)
)
)
withSpec::Opts->(forallm.WTASpecm->x)->x
withSpecoptsf=caseoptMonoidoptsof
...
...
@@ -121,8 +139,8 @@ computeProbability :: WTASpec m -> ZeroFrequency -> Probability