Implement closeness centrality algorithm (#104)
authorLinary <liningrui@baidu.com>
Mon, 13 Dec 2021 15:07:21 +0000 (23:07 +0800)
committerGitHub <noreply@github.com>
Mon, 13 Dec 2021 15:07:21 +0000 (23:07 +0800)
commit0224ccec5da737b205aad154565669535f70bb41
tree16804eec3a35a8e49067d2151a75702c0fd9276a
parentd93bc3170c4be1f7188d2e82afc5532753dd0825
Implement closeness centrality algorithm (#104)
41 files changed:
computer-algorithm/src/main/java/com/baidu/hugegraph/computer/algorithm/centrality/closeness/ClosenessCentrality.java [new file with mode: 0644]
computer-algorithm/src/main/java/com/baidu/hugegraph/computer/algorithm/centrality/closeness/ClosenessCentralityOutput.java [new file with mode: 0644]
computer-algorithm/src/main/java/com/baidu/hugegraph/computer/algorithm/centrality/closeness/ClosenessCentralityParams.java [new file with mode: 0644]
computer-algorithm/src/main/java/com/baidu/hugegraph/computer/algorithm/centrality/closeness/ClosenessMessage.java [new file with mode: 0644]
computer-algorithm/src/main/java/com/baidu/hugegraph/computer/algorithm/centrality/closeness/ClosenessValue.java [new file with mode: 0644]
computer-algorithm/src/main/java/com/baidu/hugegraph/computer/algorithm/centrality/degree/DegreeCentrality.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/GraphFactory.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/DoubleValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/FloatValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IdList.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IdListList.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IntValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/LongValue.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/Value.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/graph/value/ValueType.java
computer-api/src/main/java/com/baidu/hugegraph/computer/core/io/BytesInput.java [moved from computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/BytesInput.java with 100% similarity]
computer-api/src/main/java/com/baidu/hugegraph/computer/core/io/BytesOutput.java [moved from computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/BytesOutput.java with 100% similarity]
computer-api/src/main/java/com/baidu/hugegraph/computer/core/util/CoderUtil.java [moved from computer-core/src/main/java/com/baidu/hugegraph/computer/core/util/CoderUtil.java with 100% similarity]
computer-api/src/main/java/com/baidu/hugegraph/computer/core/worker/Computation.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/config/ComputerOptions.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/graph/BuiltinGraphFactory.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/graph/id/BytesId.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/graph/value/MapValue.java [new file with mode: 0644]
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/OptimizedBytesOutput.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/io/StructGraphOutput.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/sender/QueuedMessageSender.java
computer-core/src/main/java/com/baidu/hugegraph/computer/core/util/ComputerContextUtil.java
computer-dist/src/main/java/com/baidu/hugegraph/computer/dist/HugeGraphComputer.java
computer-test/src/main/java/com/baidu/hugegraph/computer/algorithm/AlgorithmTestBase.java
computer-test/src/main/java/com/baidu/hugegraph/computer/algorithm/AlgorithmTestSuite.java
computer-test/src/main/java/com/baidu/hugegraph/computer/algorithm/centrality/closeness/ClosenessCentralityTest.java [new file with mode: 0644]
computer-test/src/main/java/com/baidu/hugegraph/computer/algorithm/centrality/degree/DegreeCentralityTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/BuiltinGraphFactoryTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/id/BytesIdTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IdListListTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IdValueListTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/IdValueTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/graph/value/ValueTypeTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/sender/WriteBufferTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/core/sender/WriteBuffersTest.java
computer-test/src/main/java/com/baidu/hugegraph/computer/suite/unit/UnitTestBase.java