Changeset: 5aa865866787 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5aa865866787
Modified Files:
        monetdb5/extras/crackers/crackers_holistic.c
Branch: holindex
Log Message:

Comments that distinguish the functions that are used for the second series of 
experiments (2nd cost model).


diffs (28 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
@@ -43,6 +43,7 @@ getFrequencyStruct(char which)
        return *theNode;
 }
 
+/*this function pushes nodes in the list in the second experiment (2nd cost 
model)*/
 void 
 push(int bat_id,FrequencyNode* head)
 {
@@ -52,7 +53,7 @@ push(int bat_id,FrequencyNode* head)
        new_node->c=1;
        new_node->f1=0;
        new_node->f2=0;
-       new_node->weight=0.0;
+       new_node->weight=0.0; /*weight=f1*((N/c)-L1)*/
        new_node->next=head->next;
        head->next=new_node; 
 }
@@ -185,6 +186,7 @@ deleteNode(FrequencyNode* head,int bat_i
 
 }
 
+/*this function initializes the list in the second experiment (2nd cost 
model)*/
 str 
 CRKinitFrequencyStruct(int *vid,int *bid)
 {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to