Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
43
Issues
43
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
c040f44d
Commit
c040f44d
authored
Jun 22, 2013
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return _really_ at most n_max subgraphs in subgraph_isomorphism()
parent
5781125c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/graph/topology/graph_subgraph_isomorphism.hh
src/graph/topology/graph_subgraph_isomorphism.hh
+2
-1
No files found.
src/graph/topology/graph_subgraph_isomorphism.hh
View file @
c040f44d
...
@@ -271,7 +271,8 @@ void find_mappings(const Graph1& sub, const Graph2& g, matrix_t& M0,
...
@@ -271,7 +271,8 @@ void find_mappings(const Graph1& sub, const Graph2& g, matrix_t& M0,
iter
!=
M_prime
[
ni
].
end
();
++
iter
)
iter
!=
M_prime
[
ni
].
end
();
++
iter
)
{
{
F
.
push_back
(
std
::
make_pair
(
ni
,
*
iter
));
F
.
push_back
(
std
::
make_pair
(
ni
,
*
iter
));
FF
.
push_back
(
F
);
if
(
max_n
==
0
||
FF
.
size
()
<
max_n
)
FF
.
push_back
(
F
);
F
.
pop_back
();
F
.
pop_back
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment