Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
6fee02af
Commit
6fee02af
authored
5 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Add stream parameter to Problem::{print,check}
parent
23e2b7b7
No related branches found
No related tags found
1 merge request
!340
Resolve "Problem::check() more exhaustive"
Pipeline
#5004
passed
5 years ago
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/core/problem/problem.h
+7
-5
7 additions, 5 deletions
include/core/problem/problem.h
src/problem/problem.cpp
+255
-507
255 additions, 507 deletions
src/problem/problem.cpp
with
262 additions
and
512 deletions
include/core/problem/problem.h
+
7
−
5
View file @
6fee02af
...
@@ -325,6 +325,11 @@ class Problem : public std::enable_shared_from_this<Problem>
...
@@ -325,6 +325,11 @@ class Problem : public std::enable_shared_from_this<Problem>
public:
public:
// Print and check ---------------------------------------
// Print and check ---------------------------------------
void
print
(
int
depth
,
//
std
::
ostream
&
stream
,
bool
constr_by
,
//
bool
metric
,
//
bool
state_blocks
)
const
;
/**
/**
* \brief print wolf tree
* \brief print wolf tree
* \param depth : levels to show ( 0: H, T, M : 1: H:S:p, T:F, M:L ; 2: T:F:C ; 3: T:F:C:f ; 4: T:F:C:f:c )
* \param depth : levels to show ( 0: H, T, M : 1: H:S:p, T:F, M:L ; 2: T:F:C ; 3: T:F:C:f ; 4: T:F:C:f:c )
...
@@ -340,11 +345,8 @@ class Problem : public std::enable_shared_from_this<Problem>
...
@@ -340,11 +345,8 @@ class Problem : public std::enable_shared_from_this<Problem>
bool
constr_by
=
false
,
//
bool
constr_by
=
false
,
//
bool
metric
=
true
,
//
bool
metric
=
true
,
//
bool
state_blocks
=
false
)
const
;
bool
state_blocks
=
false
)
const
;
std
::
string
printToString
(
int
depth
=
4
,
//
bool
check
(
int
verbose_level
)
const
;
bool
constr_by
=
false
,
//
bool
check
(
bool
verbose
,
std
::
ostream
&
stream
)
const
;
bool
metric
=
true
,
//
bool
state_blocks
=
false
)
const
;
bool
check
(
int
verbose_level
=
0
)
const
;
};
};
...
...
This diff is collapsed.
Click to expand it.
src/problem/problem.cpp
+
255
−
507
View file @
6fee02af
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment