Initial commit
A first application.
It runs the Triangle Counting algorithm from Giraph.
Added InputFormat for the triangle counting app.
A first commit. Code does not compile yet. Testing.
Another test commit.
Latest version of SGD with Input and Output Formats.
Also, adding some examples
Deleted dummy files
Fixing some issues after updating to latest Giraph.
Modified pom.xml to create jar with dependencies.
SGD - working
Output format is changed to print only the Vertex Id, Vertex Value and error if parameter sgd.printerr is enabled. By default is false.

New way of running code:

hadoop jar /home/marsty5/Programming/EclipseProjects/graphlib/target/graphlib-1.0-SNAPSHOT-jar-with-dependencies.jar org.apache.giraph.GiraphRunn
er es.tid.graphlib.sgd.SGD -vif es.tid.graphlib.sgd.JsonIntDoubleArrayIntIntVertexInputFormat -vip /marsty5/hadoop/sgdInput/* -of es.tid.graphlib
.sgd.JsonIntDoubleArrayNullNullVertexOutputFormat -op /marsty5/hadoop/sgdOutput -w 3 -ca sgd.printerr=true
Remove too many/unnecessary comments
Creating and initializing vertex value at the creation of the vertex and not by reading the input file
new output file
SGD, sgdMaxIter are working
trying to make sgdTolerance work. created the SgdMaxIter2 in which i make little by little the changes.
problems with the edge value. check the getEdgeValue and the getValue
SgdMaxIter - Receive messages, compute vector for each message and send messages to all neighbours. Stop after MAX_ITERATIONS
SgdAvgVerErr - Receive messages, for each computation save the error and then calculate the average error. If average error < TOLERANCE then send messages (additional safe-if-control: up to MAX_ITERATIONS)
Tested on laptop with 10,100,200 iterations.
Parameters LAMBDA, GAMMA are taken from SGD of Graphlab
sgdRMSD and sgdVectorL2Norm
Hadoop version
SgdMaxIter without the printing. Print only error at the last iteration
SgdGeneral combines 3 versions: basic, RMSD, L2Norm --> for local vertex termination
parameter for RMSD - MasterCompute is available
All combinations have been tested on laptop with small input file:
Combinations: basic-no_master, basic-master, RMSD-no_master, RMSD-master, L2Norm-no_master, L2Norm-master