Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
clarknerd committed Feb 26, 2017
1 parent ef9fdb3 commit fed2643
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions SQLFeatureExtraction/src/main/java/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ else if (name.contains("makiyama"))
queryComparison(data[i],method[j],queryLists.get(i),modules);
}
else{
for(int k=1;k<5;k++){
for(int k=0;k<5;k++){
modules=new HashSet<Integer>();
modules.add(k);
queryComparison(data[i],method[j],queryLists.get(i),modules);
Expand All @@ -122,12 +122,14 @@ public static void queryComparison(String data,String method,ArrayList<String> q
System.out.println("metric using "+method);
if(modules.contains(1))
System.out.println("naming module will be applied");
else if (modules.contains(2))
if (modules.contains(2))
System.out.println("Expression Regularization module will be applied");
else if(modules.contains(3))
if(modules.contains(3))
System.out.println("Flattening From-Nesting module will be applied");
else if (modules.contains(4))
if (modules.contains(4))
System.out.println("Union pull-out module will be applied");
if(modules.size()==1&&modules.iterator().next()==0)
System.out.println("no regularization module will be applied");
System.out.println();
//parse queries
ArrayList<Statement> statementList1 = Utility.convertToStatement(data,datapath,queryList);
Expand Down

0 comments on commit fed2643

Please sign in to comment.