diff options
author | Matt Argao <mcargao@email.wm.edu> | 2012-11-08 17:15:02 -0500 |
---|---|---|
committer | Matt Argao <mcargao@email.wm.edu> | 2012-11-08 17:15:02 -0500 |
commit | 7890155ab9f1808cbbd0295057274c003e8cefdd (patch) | |
tree | 601d642d0ef4d4bbe190d4e154bc804a6cb91900 /mode_match.m | |
parent | f794847d6069037e66e4e80359c531548d3bbd27 (diff) | |
parent | b046d548e73259fcfd74e6b01b0440441e4c8b07 (diff) | |
download | mode_match-7890155ab9f1808cbbd0295057274c003e8cefdd.tar.gz mode_match-7890155ab9f1808cbbd0295057274c003e8cefdd.zip |
Merge branch 'exper'
Conflicts:
fitness.m
mode_match.m
Diffstat (limited to 'mode_match.m')
-rw-r--r-- | mode_match.m | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mode_match.m b/mode_match.m index 596cff1..27affcb 100644 --- a/mode_match.m +++ b/mode_match.m @@ -1,9 +1,9 @@ -function [ possible_lens_placement, possible_lens_set, possible_sample_energy, n_possible_lens_placement, index ] = mode_match( q0, qf, Ltot, lambda, lens_permutations ) +function [ possible_lens_placement, possible_lens_set, possible_sample_energy, pick_of_n_best_lens_placements, index ] = mode_match( q0, qf, Ltot, lambda, lens_permutations ) %MODE_MATCH Summary of this function goes here % Detailed explanation goes here n_perms = size(lens_permutations,1); -n_shuffles=1; %number of random placements of lenses +n_shuffles=20; %number of random placements of lenses %Initialize sample arrays N = n_perms * n_shuffles; @@ -45,6 +45,10 @@ n=4; possible_lens_placement_trunc = round(possible_lens_placement*10^n)./10^n; [possible_lens_placement_uniq, index] = unique(possible_lens_placement_trunc,'rows','stable'); %Unique solutions only +<<<<<<< HEAD n_possible_lens_placement = min(5,size(possible_lens_placement_uniq,1)); +======= +pick_of_n_best_lens_placements = min(5,size(possible_lens_placement_uniq,1)); +>>>>>>> exper end |