Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sot-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Stack Of Tasks
sot-core
Commits
7b3bd6b4
Commit
7b3bd6b4
authored
14 years ago
by
Francois Keith
Browse files
Options
Downloads
Patches
Plain Diff
SHI must use the API of sot-core
parent
57180737
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/sot-core/solver-hierarchical-inequalities.h
+7
-22
7 additions, 22 deletions
include/sot-core/solver-hierarchical-inequalities.h
with
7 additions
and
22 deletions
include/sot-core/solver-hierarchical-inequalities.h
+
7
−
22
View file @
7b3bd6b4
...
...
@@ -32,22 +32,7 @@
#include
<sot-core/rotation-simple.h>
/* --------------------------------------------------------------------- */
/* --- API ------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
#ifndef SOTSOTH_EXPORT
# if defined (WIN32)
# if defined (sot_h_EXPORTS)
# define SOTSOTH_EXPORT __declspec(dllexport)
# else
# define SOTSOTH_EXPORT __declspec(dllimport)
# endif
# else
# define SOTSOTH_EXPORT
# endif
#endif
#include
<sot-core/sot-core-api.h>
/* --------------------------------------------------------------------- */
/* --- CLASS ----------------------------------------------------------- */
...
...
@@ -55,7 +40,7 @@
namespace
sot
{
class
SOT
SOTH
_EXPORT
ConstraintMem
class
SOT
_CORE
_EXPORT
ConstraintMem
{
public:
enum
BoundSideType
...
...
@@ -90,8 +75,8 @@ public:
,
Ju
(
0
),
Jdu
(
0
)
{}
ConstraintMem
(
const
ConstraintMem
&
clone
);
SOT
SOTH
_EXPORT
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
BoundSideType
&
bs
);
SOT
SOTH
_EXPORT
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
ConstraintMem
&
c
);
SOT
_CORE
_EXPORT
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
BoundSideType
&
bs
);
SOT
_CORE
_EXPORT
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
ConstraintMem
&
c
);
};
...
...
@@ -99,7 +84,7 @@ public:
/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */
class
SOT
SOTH
_EXPORT
ConstraintRef
class
SOT
_CORE
_EXPORT
ConstraintRef
{
public:
unsigned
int
id
;
...
...
@@ -108,7 +93,7 @@ public:
const
ConstraintMem
::
BoundSideType
side_
=
ConstraintMem
::
BOUND_VOID
)
:
id
(
id_
),
side
(
side_
)
{}
SOT
SOTH
_EXPORT
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
SOT
_CORE
_EXPORT
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
ConstraintRef
&
cr
)
{
return
os
<<
cr
.
side
<<
cr
.
id
;
}
};
...
...
@@ -118,7 +103,7 @@ public:
/* ---------------------------------------------------------- */
/* ---------------------------------------------------------- */
class
SOT
SOTH
_EXPORT
SolverHierarchicalInequalities
class
SOT
_CORE
_EXPORT
SolverHierarchicalInequalities
{
public:
// protected:
typedef
bub
::
matrix
<
double
,
bub
::
column_major
>
bubMatrixQRWide
;
...
...
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