Establish newman-community-detection subproject

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Small bug fix in CalculatetotInfluence.java

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
CalculateModularityChange.java, to be finished.
Finished Mapper

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Finish off CalculateModularityChange.java
TODO: use metric file in distributed cache

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
finish Mapper of SortModularityChange.java

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Fix -help msg in main

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Push reducer + main functions of SortModularityChange.java

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Add DistributedCache to cache metric file (path given via cmd line)

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Push MergeAndAdjust.java

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Use DistributedCache to read in MIN/MAX_NODE_ID and TOTAL_INFLUENCE_SUM
from metric file.

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Fix bug: int was used instead of double for calculation of mod diff
(edge weights are not integer values)

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Set Map output key/value types in main

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Fix bug: Use double and DoubleWritable instead of int for modularity
difference

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Reducer now updates a local metric file of the statistics of the chosen
merge scheme

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Change the spot where metric file is written, so that it doesn't include
redundant writes

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Set Map output Key/Value types
Fix bug: use double and DoubleWritable instead of int IntWritable for
edge weights

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Remove unused enum class

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Establish modified-approx-newman project

Signed-off-by: Tzu-Li Tai <tzulitai@ee.ncku.edu.tw>
Merge branch 'tai'

Conflicts:
	graph-data-preprocessing/src/main/java/tw/edu/ncku/ee/hpds/tai/mapred/comdetect/preprocessing/CalculateTotInfluence.java