(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.value(Probability71)
<>Options.value0.7
<>Options.metavar"FREQ"
<>Options.help
"Frequency of edges with zero weight as number between 0 and 1."
(Options.option(Options.eitherReaderreadCount)(Options.long"different-values"<>Options.metavar"NUM"<>Options.help"Maximal number of differnt monoid values to generate"))
))
<|>(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.")))
withSpec::Opts->(forallm.WTASpecm->x)->x
withSpecoptsf=caseoptMonoidoptsof
@@ -111,6 +118,13 @@ withSpec opts f = case optMonoid opts of