Previous topic

Operation model

Next topic

Management model

This Page

Aggregation model

The aggregarion model document defines the aggregation models used.

An example of the document contents is given below, for a comprehensive description of all the possible content options see the schema document. Data continuation and abbreviated content expressed as …:

The root level tag contains a reference to the schema document which is used to validate the content of the XML document:

<aggregation_base
   xmlns="http://www.simo-project.org/simo"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.simo-project.org/simo ../schemas/aggregation_modelbase.xsd">

An example of aggregation model: the name of the model is sum, that will be used to refer to this model in model chains. simoaggr.py contains the implementation of the model. <vector_implementation> is xs:bool value indicating whether the aggregation model can handle vectors, i.e. multiple target attributes simultaneously:

<model>
   <name>sum</name>
   <description>Sums up either values of two operands or values of a single operand (a list of values)</description>
   <implemented_at>simoaggr.py</implemented_at>
   <vector_implementation>false</vector_implementation>
   </model></aggregation_base>