Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor 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
schwede
openstructure
Commits
cbd4f620
Commit
cbd4f620
authored
14 years ago
by
Bienchen
Browse files
Options
Downloads
Patches
Plain Diff
Reformatted modules/seq/alg/src/impl/align_impl.hh
parent
0546f80f
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
modules/seq/alg/src/impl/align_impl.hh
+26
-26
26 additions, 26 deletions
modules/seq/alg/src/impl/align_impl.hh
with
26 additions
and
26 deletions
modules/seq/alg/src/impl/align_impl.hh
+
26
−
26
View file @
cbd4f620
...
...
@@ -25,39 +25,39 @@
namespace
ost
{
namespace
seq
{
namespace
alg
{
namespace
impl
{
typedef
enum
{
DIAG
,
INS1
,
INS2
,
UNKN
}
Path
;
typedef
enum
{
DIAG
,
INS1
,
INS2
,
UNKN
}
Path
;
struct
DLLEXPORT
AlnPos
{
AlnPos
()
:
score
(
0
),
from
(
impl
::
UNKN
)
{
}
int
score
;
impl
::
Path
from
;
};
struct
DLLEXPORT
AlnPos
{
AlnPos
()
:
score
(
0
),
from
(
impl
::
UNKN
)
{
}
int
score
;
impl
::
Path
from
;
};
struct
DLLEXPORT
AlnMat
{
AlnMat
(
int
width
,
int
height
)
:
mat_
(
width
*
height
),
width_
(
width
),
height_
(
height
)
{
}
struct
DLLEXPORT
AlnMat
{
AlnMat
(
int
width
,
int
height
)
:
mat_
(
width
*
height
),
width_
(
width
),
height_
(
height
)
{
}
impl
::
AlnPos
&
operator
()(
int
x
,
int
y
)
{
return
mat_
[
x
*
height_
+
y
];
}
impl
::
AlnPos
&
operator
()(
int
x
,
int
y
)
{
return
mat_
[
x
*
height_
+
y
];
}
const
impl
::
AlnPos
&
operator
()(
int
x
,
int
y
)
const
{
return
mat_
[
x
*
height_
+
y
];
}
const
impl
::
AlnPos
&
operator
()(
int
x
,
int
y
)
const
{
return
mat_
[
x
*
height_
+
y
];
}
int
GetWidth
()
const
{
return
width_
;
}
int
GetHeight
()
const
{
return
height_
;
}
int
GetWidth
()
const
{
return
width_
;
}
int
GetHeight
()
const
{
return
height_
;
}
private
:
std
::
vector
<
impl
::
AlnPos
>
mat_
;
int
width_
;
int
height_
;
private
:
std
::
vector
<
impl
::
AlnPos
>
mat_
;
int
width_
;
int
height_
;
};
inline
void
DLLEXPORT
SetRoute
(
impl
::
AlnMat
&
mat
,
int
&
i
,
int
&
j
,
const
ConstSequenceHandle
&
s1
,
const
ConstSequenceHandle
&
s2
,
...
...
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