rbmatlab 0.10.01
|
00001 classdef Single < ParameterSampling.Interface 00002 00003 properties (SetAccess = private, Dependent) 00004 % matrix storing the parameter vectors in the parameter samples as row 00005 % vectors. 00006 sample; 00007 end 00008 00009 properties (Access = private) 00010 mu; 00011 end 00012 00013 methods 00014 00015 function sample = get.sample(this) 00016 sample = this.mu; 00017 00018 end 00019 00020 function init_sample(this, dmodel) 00021 00022 this.mu = cellfun(@mean, dmodel.mu_ranges); 00023 this.init_done = true; 00024 end 00025 00026 function size = size(this) 00027 size = 1; 00028 end 00029 end 00030 end