Java implementation for finding invariant-cores -> Kwin.java
Baseline Java implementation -> Korder.java
javac Kwin.java
javac Korder.java
java Kwin DatasetFilePath startTime queryWindow threshold
java Korder DatasetFilePath startTime queryWindow threshold
First line contains no. of interactions.
Rest of the lines contain interaction in below format:
Type NodeId NodeId Timestamp
Type=1 for insertion.
Type=0 for deletion.
NodeId is Id of the endpoint of the edge.
Timestamp is time of interaction.
15wiki.txt is sample dataset with above format.
Timestamp of the interaction from which you want to start query.
No. of days for which you want to run query.
invariant-core threshold.
sh script.sh