dosubot[bot] commented on issue #324:
URL: 
https://github.com/apache/incubator-hugegraph-computer/issues/324#issuecomment-2840665220

   <!-- Answer -->
   The edge ID in Apache HugeGraph is correctly formatted with 5 parts for 
undirected edges and 6 parts for directed edges, not 4 parts. The 
`IllegalStateException` you're encountering is likely due to the LPA algorithm 
expecting an incorrect format of 4 parts. The edge ID format includes parts 
such as source vertex ID, direction (for directed edges), edge label ID, sort 
values, and target vertex ID 
<sup>[[1]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/id/EdgeId.java)</sup>.
 You should adjust the LPA algorithm to handle edge IDs with 5 or 6 parts as 
per the `EdgeId` class specification.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/6ccb5d74-49ee-4e8b-8d1e-ca60bfbfeab4?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/6ccb5d74-49ee-4e8b-8d1e-ca60bfbfeab4?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/6ccb5d74-49ee-4e8b-8d1e-ca60bfbfeab4?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/6ccb5d74-49ee-4e8b-8d1e-ca60bfbfeab4?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/6ccb5d74-49ee-4e8b-8d1e-ca60bfbfeab4?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/6ccb5d74-49ee-4e8b-8d1e-ca60bfbfeab4?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/6ccb5d74-49ee-4e8b-8d1e-ca60bfbfeab4?feedback_type=other)</sup>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to