From 0a9e6ac8c01605781f78ce5de0515fe6d271eb97 Mon Sep 17 00:00:00 2001 From: Kathryn Iverson Date: Mon, 30 Apr 2012 15:19:36 -0400 Subject: [PATCH] changed sim2 to random_shuffle --- cooccurrencecommand.cpp | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/cooccurrencecommand.cpp b/cooccurrencecommand.cpp index 1c683ac..b4965f5 100644 --- a/cooccurrencecommand.cpp +++ b/cooccurrencecommand.cpp @@ -317,15 +317,16 @@ int CooccurrenceCommand::getCooccurrence(vector& thisLookUp } } } - else if (matrix == "sim2") { - for(int i=0;i& thisLookUp } } - else if(matrix == "sim2" || matrix == "sim4") { + else if (matrix == "sim2") { + for(int i=0;i