Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OriginQ/QPanda-2
/ putReg
Method
putReg
Core/Utilities/Tools/ArchGraph.cpp:25–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
}
24
25
void ArchGraph::putReg(std::string id, std::string size) {
26
mRegs.push_back(std::make_pair(id, std::stoul(size)));
27
}
28
29
std::vector<std::vector<int>> ArchGraph::get_adjacent_matrix()
30
{
Callers
4
build_sub_graph
Function · 0.80
build_arch_graph
Method · 0.80
initialize
Method · 0.80
Parse
Method · 0.80
Calls
1
push_back
Method · 0.45
Tested by
no test coverage detected