MCPcopy Create free account
hub / github.com/alibaba/libgrape-lite / BuildImmutableGraphAndQuery

Function BuildImmutableGraphAndQuery

tests/mutate_tests.cc:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136template <typename FRAG_T, typename APP_T, typename... Args>
137void BuildImmutableGraphAndQuery(const grape::CommSpec& comm_spec,
138 const std::string& efile,
139 const std::string& vfile,
140 const std::string& out_prefix,
141 const grape::ParallelEngineSpec& spec,
142 Args... args) {
143 std::shared_ptr<FRAG_T> fragment =
144 BuildGraph<FRAG_T>(comm_spec, efile, vfile);
145 RunQuery<FRAG_T, APP_T, Args...>(fragment, comm_spec, out_prefix, spec,
146 std::forward<Args>(args)...);
147}
148
149template <typename OID_T, typename VID_T, typename VDATA_T, typename EDATA_T>
150void RunBenchmark() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected