Matt McCutchen's Web Site
/
match
/
match.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Paper: Remove "NOT YET" on URL in preparation for release.
[match/match.git]
/
program
/
PMInstanceGenerator.hs
diff --git
a/program/PMInstanceGenerator.hs
b/program/PMInstanceGenerator.hs
index
0f78b02
..
4324546
100644
(file)
--- a/
program/PMInstanceGenerator.hs
+++ b/
program/PMInstanceGenerator.hs
@@
-35,7
+35,7
@@
data ProposalInfo = ProposalInfo {
}
randomTopic cfg = withWeight $
}
randomTopic cfg = withWeight $
- map (\i -> (
numAsWt
(i+1) ** topicZipfExponent cfg, return i))
+ map (\i -> (
widenInteger
(i+1) ** topicZipfExponent cfg, return i))
[0 .. numTopics cfg - 1]
randomProposalInfo cfg = do
[0 .. numTopics cfg - 1]
randomProposalInfo cfg = do