Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csm
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
labrobotica
algorithms
csm
Commits
fbf93c5f
Commit
fbf93c5f
authored
16 years ago
by
Andrea Censi
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
7c8f3016
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
sm/apps/sm1.c
+30
-0
30 additions, 0 deletions
sm/apps/sm1.c
with
30 additions
and
0 deletions
sm/apps/sm1.c
+
30
−
0
View file @
fbf93c5f
...
...
@@ -19,9 +19,39 @@ struct sm1_params {
extern
int
distance_counter
;
extern
void
sm_options
(
struct
sm_params
*
p
,
struct
option
*
ops
);
const
char
*
sm1_banner
=
"There are TWO ways to define the input to this program.
\n
"
"
\n
"
"Say that in file A there are the scans
\n
"
"
\n
"
" A1 A2 A3 A4 ...
\n
"
"
\n
"
"and in file B there are the scans
\n
"
"
\n
"
" B1 B2 B3 B4 ...
\n
"
"
\n
"
"With this command line:
\n
"
"
\n
"
" sm1 --file1 A --file2 B
\n
"
"
\n
"
"the matchings will be:
\n
"
"
\n
"
" (A1, B1), (A2, B2), etc.
\n
"
"
\n
"
"While with this command line:
\n
"
"
\n
"
" sm1 --file1 A --file2 A
\n
"
"
\n
"
"the matchings will be
\n
"
"
\n
"
" (A1, A2), (A3, A4), (A5, A6), ...
\n
"
"
\n
"
;
int
main
(
int
argc
,
const
char
*
argv
[])
{
sm_set_program_name
(
argv
[
0
]);
options_banner
(
sm1_banner
);
struct
sm_params
params
;
struct
sm_result
result
;
...
...
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