Changeset: 83a9fa11e639 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=83a9fa11e639
Modified Files:
monetdb5/extras/crackers/crackers_holistic.c
Branch: holindex
Log Message:
Initial frequency equal to zero.
diffs (15 lines):
diff --git a/monetdb5/extras/crackers/crackers_holistic.c
b/monetdb5/extras/crackers/crackers_holistic.c
--- a/monetdb5/extras/crackers/crackers_holistic.c
+++ b/monetdb5/extras/crackers/crackers_holistic.c
@@ -65,9 +65,9 @@ push_2(int bat_id,FrequencyNode* head,in
new_node=(FrequencyNode *) GDKmalloc(sizeof(FrequencyNode));
new_node->bid=bat_id;
new_node->c=1;
- new_node->f1=1;
+ new_node->f1=0;
new_node->f2=0;
- new_node->weight=new_node->f1*(N-L1);
+ new_node->weight=N-L1;
new_node->next=head->next;
head->next=new_node;
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list