Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add document tutorial_dev_algo_cpp_pie.md #2541

Merged
merged 2 commits into from
Apr 10, 2023
Merged

Conversation

lidongze0629
Copy link
Collaborator

@lidongze0629 lidongze0629 commented Mar 20, 2023

What do these changes do?

  • tutorial_dev_algo_cpp_pie.md
  • how_to_find_logs.md

Related issue number

Fixes

@github-actions
Copy link
Contributor

github-actions bot commented Mar 20, 2023

🎊 PR Preview 810f527 has been successfully built and deployed to https://alibaba-graphscope-build-pr-2541.surge.sh

🤖 By surge-preview

@lidongze0629 lidongze0629 changed the title [WIP] Add document tutorial_dev_algo_cpp_pie.md Add document tutorial_dev_algo_cpp_pie.md Apr 7, 2023
};
```

As shown in the code. Respectively, The `MyAppContext` class defines two member variables called `step` and `param1` to store the current superstep and algorithm-specific parameter. And also defines a member variable named `result` with `uint64_t` type to store the the degree for each vertex in the fragment. The `Init` method is used to initialize the context of the computation. In current example, we initialize the `step` and `param1` variables to zero and the algorithm-specific parameter. We also set the result to zero for each vertex.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As shown in the code, the MyAppContext class defines two member variables called step and param1 to store the current superstep and algorithm-specific parameter, respectively. And we also define a member variable named result with uint64_t type to store the the degree for each vertex in the fragment.

@doudoubobo doudoubobo merged commit 44c975b into alibaba:main Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants