# This is a template for MC (MultiCriteria) discrete alternatives # problem and (optional) instance(s) data specification # @author msalwa, ver 1.0, Aug 15,2007 # # The convention used for preparing/processing this CSV file: # - lines having in the first column the # character are comments (ignored by the parser) # - empty lines (also composed of white spaces) are ignored # - only ASCII characters are allowed # The file is composed of sections defined by a name delimited by pair: <> # - all sections but the last are closed by a next section # - the last section is closed by the EOF # - the sequence of sections is prescribed # - the following sections should be defined for MC problem specification: # . problem # . attributes # . alternatives # . values # - the following sections should be defined for MC problem specification # (which can optionally follow the problem specification): # . instance # . criteria # Each section is composed of lines (records) # - lines are composed of fields delimited by the ; character (therefore this # character must not be used in data strings) # - the last ; (separator for the last field) is optional # - leading and trailing white space(s) for a field are ignored # - space(s) within numerical fields are not allowed # - each field has maximum length: # . fields longer than the corresponding maximum length are truncated # . empty numerical field is interpreted as zero # . numerical values have to be defined in either F (e.g. 7.245) or # E (e.g. -2.345e+3) formats; no spaces within a number are allowed; # infinity should be defined by one of the keywords: INFTY and -INFTY . # . empty obligatory string field causes error # . empty long name is filled by the corresponding short name # . empty optional string fields are allowed (e.g. for descriptions) # ########################################################################### # MC problem specification (composed of 4 sections) # (samples of data are provided for illustration) # Specific info/requirements: # - structure of fields for each section is defined below # - short names must be unique within each section # - fields in square brackets are optional # Line structure (Fields in square braces are optional, numbers in brackets # specify maximum number of characters of the corresponding field): # # short name(16);[long name(128)];[description(2000)] # Spectrum_mngmnt; ;Example 2 from IR-07-2008 # short name(16);[long name(128)];unit(16);[description(2000)] # 1;; 1; 2;; 1; 3;; 1; 4;; 1; 5;; 1; 6;; 1; 7;; 1; 8;; 1; 9;; 1; 10;; 1; 11;; 1; 12;; 1; 13;; 1; 14;; 1; 15;; 1; # short name(16);[long name(128)];[description(2000)] # A;; B;; C;; D;; # A line defines values of attributes (indicators) for an alternative. # The number and order of the fields in each line must correspond to the # number and order of attributes defined in the section. # The number and order of lines must correspond to the alternatives defined # in the section. # The (optional) decimal point character is the dot "".""" # 100;62;100;17;98;96;100;96;92;0;0;100;67;0;0 89;100;0;23;100;100;75;99;87;18;100;98;48;99;96 85;88;21;0;99;97;93;100;88;2;100;98;38;99;100 0;75;0;0;92;86;79;99;68;100;100;91;100;92;99 # ######################################################################## # The following two sections define an instance of the MC problem analysis # short name(16);[long name(128)] # All criteria; # short name(16);[long name(128)];[attribute(16)];[parent(16)];type(6);[target value(16)] # # Comments: # - short name is used as identifier of the corresponding criterion, and # also for forms/graphs, optional long criterion name may be used when # more space will be available (e.g., in reports) # - attribute (that defines a criterion on the lowest level) must correspond # to the short name of a defined attribute (indicator) # - empty attribute field implies a criterion above the lowest criteria # level; such a criterion must be a parent of at least one lower-level # criterion # - the type has to be one of the keywords: {min max target} # - the target value field is processed only for the target criterion-type. # - WARNING: the target type criterion has not been implemented yet. Economic;;;;max; Environmental;;;;max; Socio-political;;;;max; 1;First economic criterion;1;Economic;max; 2;Second economic criterion;2;Economic;max; 3;Third economic criterion;3;Economic;max; 4;Fourth economic criterion;4;Economic;max; 5;First environmental criterion;5;Environmental;max; 6;Second environmental criterion;6;Environmental;max; 7;Third environmental criterion;7;Environmental;max; 8;First socio-political criterion;8;Socio-political;max; 9;Second socio-political criterion;9;Socio-political;max; 10;Third socio-political criterion;10;Socio-political;max; 11;Fourth socio-political criterion;11;Socio-political;max; 12;Fifth socio-political criterion;12;Socio-political;max; 13;Sixth socio-political criterion;13;Socio-political;max; 14;Seventh socio-political criterion;14;Socio-political;max; 15;Eighth socio-political criterion;15;Socio-political;max;