Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CRP Toolbox for MATLAB
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
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Norbert Marwan
CRP Toolbox for MATLAB
Commits
5360a5ca
Commit
5360a5ca
authored
19 years ago
by
marwan
Browse files
Options
Downloads
Patches
Plain Diff
modified interdependent algorithm
bug in showing RP fixed
parent
df83fa0f
No related branches found
Branches containing commit
Tags
v5.4
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
crp.m
+6
-1
6 additions, 1 deletion
crp.m
crp2.m
+5
-1
5 additions, 1 deletion
crp2.m
crp_big.m
+5
-0
5 additions, 0 deletions
crp_big.m
with
16 additions
and
2 deletions
crp.m
+
6
−
1
View file @
5360a5ca
...
...
@@ -79,6 +79,9 @@ function xout=crp(varargin)
% $Revision$
%
% $Log$
% Revision 5.4 2005/11/09 08:58:13 marwan
% bug fix in interdependent neighbours method
%
% Revision 5.3 2005/06/15 15:16:00 marwan
% RP matrix transposed for "interdependent neighbourhood"
%
...
...
@@ -700,10 +703,11 @@ switch(action)
JJy
((
JJy
(
1
:
mine
,
i
)
>
min
(
NX
,
NY
)),
i
)
=
i
;
X
(
i
,
JJx
(
1
:
mine
,
i
))
=
(
sy
(
i
,
JJx
(
1
:
mine
,
i
))
<=
ey
(
i
))
'
;
if
check_stop
(
hCRP
,
hCtrl
,
nogui
,
obj
),
return
,
end
X
(
i
,
JJy
(
1
:
mine
,
i
))
=
(
sx
(
i
,
JJy
(
1
:
mine
,
i
))
<=
ex
(
i
))
'
;
%
X(i,JJy(1:mine,i)) = (sx(i,JJy(1:mine,i))<=ex(i))';
end
clear
X1
SS
*
JJ
*
s
sx
sy
s1
px
py
ex
ey
X
=
X
'
;
matext
=
[
num2str
(
round
(
1000
*
mine
/
NY
)/
10
)
'% (interdependent neighbours)'
];
...
...
@@ -813,6 +817,7 @@ switch(action)
Shuttle
.
t
=
t
;
Shuttle
.
cm
=
cm
;
Shuttle
.
txt_cross
=
txt_cross
;
if
isempty
(
X
),
warning
([
'Uuups! Empty matrix.'
,
10
,
'I give up ...'
]);
return
;
end
show_crp
(
X
,
Shuttle
)
else
if
nargout
==
1
,
xout
=
X
;
end
...
...
This diff is collapsed.
Click to expand it.
crp2.m
+
5
−
1
View file @
5360a5ca
...
...
@@ -81,6 +81,9 @@ function xout=crp2(varargin)
% $Revision$
%
% $Log$
% Revision 5.4 2005/11/09 08:58:13 marwan
% bug fix in interdependent neighbours method
%
% Revision 5.3 2005/09/02 08:02:57 marwan
% line fitting algorithm improved (linear interpolation between set points)
%
...
...
@@ -1170,6 +1173,7 @@ switch(action)
Shuttle
.
t
=
t
;
Shuttle
.
cm
=
cm
;
Shuttle
.
txt_cross
=
txt_cross
;
if
isempty
(
X
),
warning
([
'Uuups! Empty matrix.'
,
10
,
'I give up ...'
]);
return
;
end
show_crp
(
X
,
Shuttle
)
else
if
nargout
==
1
,
xout
=
X
;
end
...
...
@@ -1571,7 +1575,7 @@ set(0,'ShowHidden','Off')
%%%%%%% error handling
%if 0
%
if 0
catch
try
,
if
nogui
==
0
for
i
=
1
:
length
(
obj
.
enable
),
set
(
obj
.
children
(
i
),
'Enable'
,
obj
.
enable
{
i
});
end
...
...
This diff is collapsed.
Click to expand it.
crp_big.m
+
5
−
0
View file @
5360a5ca
...
...
@@ -77,6 +77,9 @@ function xout=crp_big(varargin)
% $Revision$
%
% $Log$
% Revision 5.4 2005/11/09 08:58:13 marwan
% bug fix in interdependent neighbours method
%
% Revision 5.3 2005/06/15 15:16:00 marwan
% RP matrix transposed for "interdependent neighbourhood"
%
...
...
@@ -742,6 +745,7 @@ switch(action)
X
(:,
NX0
+
1
:
end
)
=
[];
NX
=
NX0
;
NY
=
NY0
;
clear
X1
SS
*
JJ
*
s
sx
sy
s1
px
py
eex
eey
X
=
X
'
;
matext
=
[
num2str
(
round
(
1000
*
e
)/
10
)
'% (interdependent neighbours)'
];
...
...
@@ -867,6 +871,7 @@ switch(action)
Shuttle
.
t
=
t
;
Shuttle
.
cm
=
cm
;
Shuttle
.
txt_cross
=
txt_cross
;
if
isempty
(
X
),
warning
([
'Uuups! Empty matrix.'
,
10
,
'I give up ...'
]);
return
;
end
show_crp
(
X
,
Shuttle
)
else
if
nargout
==
1
,
xout
=
X
;
end
...
...
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