No description, website, or topics provided.
Java Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
gs-algo-1.3
gs-core-1.3
gs-ui-1.3
local-repo/net/sf/jung
src/main/java/edu/usc/hive
14-bus-w.txt
14-bus.txt
LICENSE
License.txt
README.md
pom.xml

README.md

Baseline Algorithm for Nx Contingency Selection

Prerequisites

* Java installation (1.7)

* Apache Maven installation (3.3)

Compiling Code

* $mvn clean install

Input Graph Format

* Input graph is provided as an edge list
    * source vertex id,target vertex id,edge weight (optional)

Running Code

* Executing from jar $java -cp PATH_TO_JAR edu.usc.hive.NxContingency EDGE_LIST X OUT_TYPE(v=std out, n=no output, f=fileout) OUT_FILE_PATH
    * ex: java -cp target/Nx-Contingency-1.0-jar-with-dependencies.jar edu.usc.hive.NxContingency 14-bus.txt 3 v
* Executing from bash file in batch mode to get performance numbers with varying x up to MAX_X $./bin/run_baseline.sh EDGE_LIST MAX_X
    * ex: $./bin/run_baseline.sh 14-bus.txt 9

OUTPUT

* Set of x number of vertices with highest group betweenness centrality (i.e. the set of x number of entities, that has the largest impact if removed concurrently).