Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
dynamic-graph
Commits
2b7c4a86
Commit
2b7c4a86
authored
Jan 15, 2020
by
Olivier Stasse
Committed by
olivier stasse
Jan 16, 2020
Browse files
[headers] writeGraph simplified
The code is not used.
parent
6302cacc
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/dynamic-graph/time-dependency.t.cpp
View file @
2b7c4a86
...
...
@@ -113,21 +113,6 @@ bool TimeDependency<Time>::needUpdate(const Time &t1) const {
template
<
class
Time
>
std
::
ostream
&
TimeDependency
<
Time
>::
writeGraph
(
std
::
ostream
&
os
)
const
{
std
::
string
LeaderLocalName
;
std
::
string
LeaderNodeName
;
leader
.
ExtractNodeAndLocalNames
(
LeaderLocalName
,
LeaderNodeName
);
if
(
dependencies
.
size
()
!=
0
)
{
const
typename
Dependencies
::
const_iterator
itend
=
dependencies
.
end
();
for
(
typename
Dependencies
::
const_iterator
it
=
dependencies
.
begin
();
it
!=
itend
;
++
it
)
{
std
::
string
itLocalName
,
itNodeName
;
(
*
it
)
->
ExtractNodeAndLocalNames
(
itLocalName
,
itNodeName
);
os
<<
"
\"
"
<<
itNodeName
<<
"
\"
->
\"
"
<<
LeaderNodeName
<<
"
\"
"
<<
std
::
endl
<<
" [ headlabel =
\"
"
<<
LeaderLocalName
<<
"
\"
, taillabel =
\"
"
<<
itLocalName
<<
"
\"
]"
<<
std
::
endl
;
}
}
return
os
;
}
...
...
Write
Preview
Supports
Markdown
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