-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
401 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,10 @@ build/ | |
.gradle/ | ||
/bin/ | ||
|
||
.idea/ | ||
*.iml | ||
*.class | ||
|
||
.settings/ | ||
.classpath | ||
.project |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package analyzer.aggregate; | ||
|
||
import java.util.logging.Logger; | ||
import java.util.logging.Level; | ||
|
||
import analyzer.Database; | ||
|
||
public class Aggregator { | ||
public static void main(String[] args) { | ||
try { | ||
final Database db1 = new Database(args[0]); | ||
final Database db2 = new Database(args[1]); | ||
|
||
db1.commit(db2); | ||
db1.dump(args[2]); | ||
|
||
} catch (Exception e) { | ||
Logger.getLogger(Logger.GLOBAL_LOGGER_NAME).log(Level.SEVERE, e.toString()); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package analyzer.compare; | ||
|
||
import java.util.logging.Logger; | ||
import java.util.logging.Level; | ||
|
||
import analyzer.Database; | ||
|
||
public class Comparator { | ||
public static void main(String[] args) { | ||
try { | ||
final Database db1 = new Database(args[0]); | ||
final Database db2 = new Database(args[1]); | ||
final double similarity = db1.calculateSimilarity(db2); | ||
Logger.getLogger(Logger.GLOBAL_LOGGER_NAME).log(Level.INFO, () -> "Similaity: " + similarity); | ||
|
||
} catch (Exception e) { | ||
Logger.getLogger(Logger.GLOBAL_LOGGER_NAME).log(Level.SEVERE, e.toString()); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sun Mar 05 18:43:08 UTC 2017 | ||
#Wed Nov 28 12:06:22 EET 2018 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip |
Oops, something went wrong.