close
Warning:
Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 2, 2010, 11:57:50 AM (15 years ago)
- Author:
-
Pedro Gea
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v6
|
v7
|
|
88 | 88 | Text _.description = "..."; |
89 | 89 | NameBlock _.output = [[ |
90 | | Text _.name = ...; |
| 90 | Text _.name = <nombre_output>; |
91 | 91 | Text _.variableIdentifier = <variable>; |
92 | 92 | MMS::@Transformation _.transformation = MMS::@Transformation.BoxCox::Default(0,0) |
… |
… |
|
120 | 120 | a través de sus métodos correspondientes. |
121 | 121 | |
| 122 | == Creación de términos explicativos == |
122 | 123 | |
| 124 | En MMS_0.6 desaperece el mecanismo de (i) crear términos explicativos base, y luego (ii) |
| 125 | crear términos epxlicativos asociando los primeros a un output. |
| 126 | Los términos explicativos se crean directamente sobre el submodelo en el que van a participar. |
123 | 127 | |
| 128 | '''Código en MMS_0.5''' |
| 129 | |
| 130 | {{{ |
| 131 | Real model::CreateBaseExpTermOmega([[ |
| 132 | Text _.name = <nombre>; |
| 133 | Text _.description = "..."; |
| 134 | Polyn _.transferFunction = <transfer>; |
| 135 | @MMS.Transformation _.transformation = <transformation>; |
| 136 | Text _.variableName = <variable> |
| 137 | ]]); |
| 138 | Real model::CreateExpTerm([[ |
| 139 | Text _.baseExpTermName = <nombre>; |
| 140 | Set _.outputNames = [[ <submodelo> ]] |
| 141 | ]]); |
| 142 | }}} |
| 143 | |
| 144 | '''Código en MMS_0.6''' |
| 145 | |
| 146 | {{{ |
| 147 | MMS::@ExpTerm expTerm = submodel::CreateExpTerm_TransferFunction([[ |
| 148 | Text _.name = <nombre>; |
| 149 | Text _.description = "..."; |
| 150 | NameBlock _.input = [[ |
| 151 | Text _.name = <nombre_input>; |
| 152 | Text _.variableIdentifier = <variable> |
| 153 | ]]; |
| 154 | Polyn _.transferFunction = <transfer> |
| 155 | ]]); |
| 156 | }}} |
| 157 | |
| 158 | Nótese que el uso de las transformaciones ha cambiado. |
| 159 | Véase el apartado de [wiki:upgrade/transformations transformaciones]. |
| 160 | |