| 1 | #LyX 1.3 created this file. For more info see http://www.lyx.org/ |
|---|
| 2 | \lyxformat 221 |
|---|
| 3 | \textclass article |
|---|
| 4 | \language spanish |
|---|
| 5 | \inputencoding auto |
|---|
| 6 | \fontscheme default |
|---|
| 7 | \graphics default |
|---|
| 8 | \paperfontsize default |
|---|
| 9 | \spacing single |
|---|
| 10 | \papersize a4paper |
|---|
| 11 | \paperpackage widemarginsa4 |
|---|
| 12 | \use_geometry 0 |
|---|
| 13 | \use_amsmath 0 |
|---|
| 14 | \use_natbib 0 |
|---|
| 15 | \use_numerical_citations 0 |
|---|
| 16 | \paperorientation portrait |
|---|
| 17 | \secnumdepth 3 |
|---|
| 18 | \tocdepth 3 |
|---|
| 19 | \paragraph_separation indent |
|---|
| 20 | \defskip medskip |
|---|
| 21 | \quotes_language english |
|---|
| 22 | \quotes_times 2 |
|---|
| 23 | \papercolumns 1 |
|---|
| 24 | \papersides 1 |
|---|
| 25 | \paperpagestyle default |
|---|
| 26 | |
|---|
| 27 | \layout Title |
|---|
| 28 | |
|---|
| 29 | Álgebra del Tiempo Continuo |
|---|
| 30 | \layout Author |
|---|
| 31 | |
|---|
| 32 | Daniel Rus y Víctor de Buen |
|---|
| 33 | \layout Abstract |
|---|
| 34 | |
|---|
| 35 | En este documento se dan las principales bases teóricas para la implementación |
|---|
| 36 | del |
|---|
| 37 | \series bold |
|---|
| 38 | álgebra del tiempo continuo |
|---|
| 39 | \series default |
|---|
| 40 | especialmente diseñada para el lenguaje de programación |
|---|
| 41 | \emph on |
|---|
| 42 | open-source |
|---|
| 43 | \emph default |
|---|
| 44 | TOL ( |
|---|
| 45 | \emph on |
|---|
| 46 | Time Oriented Language |
|---|
| 47 | \emph default |
|---|
| 48 | ) cuya página web es |
|---|
| 49 | \begin_inset LatexCommand \htmlurl[TOL-project]{http://www.tol-project.org} |
|---|
| 50 | |
|---|
| 51 | \end_inset |
|---|
| 52 | |
|---|
| 53 | , y que ha sido desarrollado por el grupo |
|---|
| 54 | \begin_inset LatexCommand \htmlurl[Bayes]{http://www.bayesforecast.com} |
|---|
| 55 | |
|---|
| 56 | \end_inset |
|---|
| 57 | |
|---|
| 58 | . |
|---|
| 59 | \layout Abstract |
|---|
| 60 | |
|---|
| 61 | El propósito del álgebra del tiempo es dotar al lenguaje de un método potente |
|---|
| 62 | y sencillo de manejar que permita la manipulación de secuencias temporales |
|---|
| 63 | complejas utilizadas en el análisis estadístico de series temporales, tanto |
|---|
| 64 | en tiempo continuo como discreto, especialmente en lo que se respecta al |
|---|
| 65 | llamado tiempo social que alude a todos aquellos aspectos de tipo social |
|---|
| 66 | que pueden influir en los fenómenos analizados, como son los festivos, |
|---|
| 67 | los puentes, las vacaciones, el calendario escolar, fines de semana, estacional |
|---|
| 68 | idades anual, semanal, y diaria, usos horarios de invierno y verano, nocturnidad |
|---|
| 69 | , horario de oficina, etc.; o cualquier otra estructura temporal derivada |
|---|
| 70 | de los mismos. |
|---|
| 71 | \layout Abstract |
|---|
| 72 | |
|---|
| 73 | Cuando se habla de tiempo continuo en realidad se hace referencia a que |
|---|
| 74 | las secuencias temporales no tienen porqué ser regulares sino que pueden |
|---|
| 75 | seguir cualquier sucesión creciente de puntos de la recta real, aunque |
|---|
| 76 | en la práctica se limitará la precisión temporal a cierta granularidad |
|---|
| 77 | máxima, que en este caso será el segundo. |
|---|
| 78 | Es decir, el tiempo manejado no es realmente continuo sino discreto, pero |
|---|
| 79 | admite secuencias irregulares y con un grado de precisión que se estima |
|---|
| 80 | más que suficiente por ahora, aunque en todo momento se deja la puerta |
|---|
| 81 | abierta a precisiones más altas. |
|---|
| 82 | \layout Abstract |
|---|
| 83 | \pagebreak_bottom |
|---|
| 84 | Se introducen formalizaciones matemáticas de granularidad temporal, instante |
|---|
| 85 | de tiempo y conjunto temporal, así como de las operaciones algebraicas |
|---|
| 86 | que es posible definir sobre ellos. |
|---|
| 87 | \layout Abstract |
|---|
| 88 | |
|---|
| 89 | |
|---|
| 90 | \begin_inset LatexCommand \tableofcontents{} |
|---|
| 91 | |
|---|
| 92 | \end_inset |
|---|
| 93 | |
|---|
| 94 | |
|---|
| 95 | \layout Section |
|---|
| 96 | \pagebreak_top |
|---|
| 97 | Granularidad Temporal |
|---|
| 98 | \layout Standard |
|---|
| 99 | |
|---|
| 100 | La granularidad temporal hace referencia a las unidades básicas o granos |
|---|
| 101 | de medición del tiempo como el segundo, el minuto, la hora, etc. |
|---|
| 102 | A continuación se describe el concepto formal de granularidad en la recta |
|---|
| 103 | real y su aplicación al caso del tiempo y sus relaciones con el calendario |
|---|
| 104 | gregoriano. |
|---|
| 105 | \layout Subsection |
|---|
| 106 | |
|---|
| 107 | Definición de granularidad |
|---|
| 108 | \layout Standard |
|---|
| 109 | |
|---|
| 110 | Una |
|---|
| 111 | \series bold |
|---|
| 112 | granularidad |
|---|
| 113 | \series default |
|---|
| 114 | |
|---|
| 115 | \begin_inset Formula $g$ |
|---|
| 116 | \end_inset |
|---|
| 117 | |
|---|
| 118 | en la recta real es una sucesión infinita monótona estrictamente creciente |
|---|
| 119 | de números reales |
|---|
| 120 | \begin_inset Formula \begin{equation} |
|---|
| 121 | g=\left\{ x_{k}\in\mathbb{R}\right\} _{k\in\mathbb{Z}}\bot x_{k}<x_{k+1}\forall k\in\mathbb{Z}\end{equation} |
|---|
| 122 | |
|---|
| 123 | \end_inset |
|---|
| 124 | |
|---|
| 125 | |
|---|
| 126 | \layout Standard |
|---|
| 127 | |
|---|
| 128 | Por ser siempre creciente estrictamente se tiene que necesariamente es no |
|---|
| 129 | acotada ni por la izquierda ni por la derecha, más concretamente se cumple |
|---|
| 130 | \layout Standard |
|---|
| 131 | |
|---|
| 132 | |
|---|
| 133 | \begin_inset Formula \begin{equation} |
|---|
| 134 | \lim_{k\rightarrow-\infty}x_{k}=-\infty\wedge\lim_{k\rightarrow\infty}x_{k}=\infty\end{equation} |
|---|
| 135 | |
|---|
| 136 | \end_inset |
|---|
| 137 | |
|---|
| 138 | |
|---|
| 139 | \layout Standard |
|---|
| 140 | |
|---|
| 141 | Dada la granularidad |
|---|
| 142 | \begin_inset Formula $g$ |
|---|
| 143 | \end_inset |
|---|
| 144 | |
|---|
| 145 | definida anteriormente se define el operador |
|---|
| 146 | \begin_inset Formula \begin{equation} |
|---|
| 147 | k\bullet g=x_{k}\forall k\in\mathbb{Z}\end{equation} |
|---|
| 148 | |
|---|
| 149 | \end_inset |
|---|
| 150 | |
|---|
| 151 | |
|---|
| 152 | \layout Standard |
|---|
| 153 | |
|---|
| 154 | que no es sino otra forma de escribir la sucesión de forma que se haga referecia |
|---|
| 155 | explícita a la granularidad, un mero truco notacional. |
|---|
| 156 | \layout Subsection |
|---|
| 157 | |
|---|
| 158 | Ordenación de granularidades |
|---|
| 159 | \layout Standard |
|---|
| 160 | |
|---|
| 161 | Se dirá que una sucesión |
|---|
| 162 | \begin_inset Formula $g$ |
|---|
| 163 | \end_inset |
|---|
| 164 | |
|---|
| 165 | |
|---|
| 166 | \emph on |
|---|
| 167 | es más fina que |
|---|
| 168 | \emph default |
|---|
| 169 | otra |
|---|
| 170 | \begin_inset Formula $h$ |
|---|
| 171 | \end_inset |
|---|
| 172 | |
|---|
| 173 | y escribiremos |
|---|
| 174 | \begin_inset Formula $g\supset h$ |
|---|
| 175 | \end_inset |
|---|
| 176 | |
|---|
| 177 | ó |
|---|
| 178 | \begin_inset Formula $h\subset g$ |
|---|
| 179 | \end_inset |
|---|
| 180 | |
|---|
| 181 | , o bien que |
|---|
| 182 | \begin_inset Formula $h$ |
|---|
| 183 | \end_inset |
|---|
| 184 | |
|---|
| 185 | |
|---|
| 186 | \emph on |
|---|
| 187 | es más gruesa que |
|---|
| 188 | \emph default |
|---|
| 189 | |
|---|
| 190 | \begin_inset Formula $g$ |
|---|
| 191 | \end_inset |
|---|
| 192 | |
|---|
| 193 | y escribiremos |
|---|
| 194 | \begin_inset Formula $h>g$ |
|---|
| 195 | \end_inset |
|---|
| 196 | |
|---|
| 197 | ó |
|---|
| 198 | \begin_inset Formula $g<h$ |
|---|
| 199 | \end_inset |
|---|
| 200 | |
|---|
| 201 | , si la sucesión que define a |
|---|
| 202 | \begin_inset Formula $h$ |
|---|
| 203 | \end_inset |
|---|
| 204 | |
|---|
| 205 | está incluida en la que define a |
|---|
| 206 | \begin_inset Formula $g$ |
|---|
| 207 | \end_inset |
|---|
| 208 | |
|---|
| 209 | , es decir |
|---|
| 210 | \begin_inset Formula \begin{equation} |
|---|
| 211 | \forall\: n\in\mathbb{Z}\:\exists\: m\in\mathbb{Z}\:\bot\: m\bullet g=n\bullet h\end{equation} |
|---|
| 212 | |
|---|
| 213 | \end_inset |
|---|
| 214 | |
|---|
| 215 | |
|---|
| 216 | \layout Standard |
|---|
| 217 | |
|---|
| 218 | A la operación que devuelve ese entero |
|---|
| 219 | \begin_inset Formula $m$ |
|---|
| 220 | \end_inset |
|---|
| 221 | |
|---|
| 222 | la llamaremos |
|---|
| 223 | \emph on |
|---|
| 224 | cociente granular |
|---|
| 225 | \emph default |
|---|
| 226 | y la denotaremos con el símbolo de la inversión sobre la granularidad |
|---|
| 227 | \layout Standard |
|---|
| 228 | |
|---|
| 229 | |
|---|
| 230 | \begin_inset Formula \begin{equation} |
|---|
| 231 | m=g^{-1}\left(n\bullet h\right)\Leftrightarrow m\bullet g=n\bullet h\quad\forall n\in\mathbb{Z},\forall k\in\mathbb{Z},\: h>g\label{eq:GraQuo}\end{equation} |
|---|
| 232 | |
|---|
| 233 | \end_inset |
|---|
| 234 | |
|---|
| 235 | |
|---|
| 236 | \layout Standard |
|---|
| 237 | |
|---|
| 238 | Se define la granularidad continua |
|---|
| 239 | \begin_inset Formula $g_{\infty}$ |
|---|
| 240 | \end_inset |
|---|
| 241 | |
|---|
| 242 | como el límite superior de todas las granularidades en orden de más gruesa |
|---|
| 243 | a más fina. |
|---|
| 244 | \layout Subsection |
|---|
| 245 | |
|---|
| 246 | El calendario gregoriano |
|---|
| 247 | \layout Standard |
|---|
| 248 | |
|---|
| 249 | Cuando la magnitud física que representa la recta real es el tiempo se hablará |
|---|
| 250 | de granularidades temporales. |
|---|
| 251 | Estas se suelen definir mediante cualquier regla de cálculo de la sucesión |
|---|
| 252 | |
|---|
| 253 | \begin_inset Formula $\left\{ k\bullet g\right\} _{k\in\mathbb{Z}}$ |
|---|
| 254 | \end_inset |
|---|
| 255 | |
|---|
| 256 | , como puede ser dar un punto de partida |
|---|
| 257 | \begin_inset Formula $0\bullet g$ |
|---|
| 258 | \end_inset |
|---|
| 259 | |
|---|
| 260 | y una regla de sucesión temporal que permita reconstruir la sucesión de |
|---|
| 261 | forma recursiva |
|---|
| 262 | \begin_inset Formula \begin{equation} |
|---|
| 263 | \left(m+1\right)\bullet g=Succ\left(m\bullet g\right)\end{equation} |
|---|
| 264 | |
|---|
| 265 | \end_inset |
|---|
| 266 | |
|---|
| 267 | |
|---|
| 268 | \layout Standard |
|---|
| 269 | |
|---|
| 270 | A las granularidades temporales correspondientes a las unidades básicas |
|---|
| 271 | de tiempo en el |
|---|
| 272 | \series bold |
|---|
| 273 | calendario gregoriano |
|---|
| 274 | \series default |
|---|
| 275 | |
|---|
| 276 | \begin_inset Foot |
|---|
| 277 | collapsed false |
|---|
| 278 | |
|---|
| 279 | \layout Standard |
|---|
| 280 | |
|---|
| 281 | En 1582 fue cuando se inició el calendario gregoriano por mandato del Papa |
|---|
| 282 | Gregorio XIII, corrigiendo el anterior calendario juliano que había provocado |
|---|
| 283 | un desfase de 10 días con respecto al ciclo anual, y que fueron eliminados |
|---|
| 284 | del calendario por decreto, pasando directamente del 4 al 15 de octubre |
|---|
| 285 | y dando lugar a cosas tan curiosas como que la gente protestara en grandes |
|---|
| 286 | revueltas creyendo que se le habían restado 10 días de vida, o que Santa |
|---|
| 287 | Teresa muriera el día 4 y fuera enterrada el día 15, es decir, al día siguiente. |
|---|
| 288 | Todos los países no adoptaron la nueva regla al unísono; esta es la razón |
|---|
| 289 | de que Cervantes y Shakespeare muriesen formalmente en la misma fecha, |
|---|
| 290 | el 23 de abril de 1616, pero con diez días de diferencia. |
|---|
| 291 | Pero en cualquier caso se tomará el 1583 como primer año del calendario |
|---|
| 292 | gregoriano. |
|---|
| 293 | El calendario juliano introducía el concepto de año bisiesto con un día |
|---|
| 294 | más, el 29 de febrero, cada 4 años. |
|---|
| 295 | El gregoriano mejoraba esa aproximación eliminando un bisiesto cada siglo |
|---|
| 296 | que no fuera múltiplo de 4. |
|---|
| 297 | \end_inset |
|---|
| 298 | |
|---|
| 299 | les llamaremos |
|---|
| 300 | \emph on |
|---|
| 301 | granularidades temporales básicas |
|---|
| 302 | \emph default |
|---|
| 303 | y son las correspondientes a las sucesiones de los años, los meses, los |
|---|
| 304 | días, las horas, los minutos, y los segundos. |
|---|
| 305 | Es posible extender muy facilmente esta definición a granularidades más |
|---|
| 306 | finas como la milésima de segundo, o el nanosegundo pero por razones técnicas |
|---|
| 307 | la presente implementación se limita al segundo. |
|---|
| 308 | De esta forma se define la base gregoriana de granularidades dispuestas |
|---|
| 309 | en orden de más gruesa a más fina |
|---|
| 310 | \begin_inset Formula \begin{equation} |
|---|
| 311 | \mathcal{G}_{6}=\left\{ \begin{array}{cc} |
|---|
| 312 | g_{\mathbf{y}}: & \mathbf{anual}\\ |
|---|
| 313 | g_{\mathbf{m}}: & \mathbf{mensual}\\ |
|---|
| 314 | g_{\mathbf{d}}: & \mathbf{diaria}\\ |
|---|
| 315 | g_{\mathbf{h}}: & \mathbf{horaria}\\ |
|---|
| 316 | g_{\mathbf{i}}: & \mathbf{minutal}\\ |
|---|
| 317 | g_{\mathbf{s}}: & \mathbf{secundal}\end{array}\right\} \end{equation} |
|---|
| 318 | |
|---|
| 319 | \end_inset |
|---|
| 320 | |
|---|
| 321 | |
|---|
| 322 | \layout Standard |
|---|
| 323 | |
|---|
| 324 | Al conjunto |
|---|
| 325 | \begin_inset Formula $\mathcal{IG}_{6}=\left\{ \mathbf{y},\mathbf{m},\mathbf{d},\mathbf{h},\mathbf{i},\mathbf{s}\right\} $ |
|---|
| 326 | \end_inset |
|---|
| 327 | |
|---|
| 328 | le llamaremos índice de la base gregoriana de granularidades. |
|---|
| 329 | |
|---|
| 330 | \layout Standard |
|---|
| 331 | |
|---|
| 332 | Así, la granularidad del segundo es más fina que la del minuto y que todas |
|---|
| 333 | las demás y la del año es la más gruesa: |
|---|
| 334 | \begin_inset Formula $g_{\mathbf{y}}>g_{\mathbf{m}}>g_{\mathbf{d}}>g_{\mathbf{h}}>g_{\mathbf{i}}>g_{\mathbf{s}}$ |
|---|
| 335 | \end_inset |
|---|
| 336 | |
|---|
| 337 | . |
|---|
| 338 | Se recalca esta cuestión de orden para que no se confunda el lector en |
|---|
| 339 | lo que resta del documento. |
|---|
| 340 | |
|---|
| 341 | \layout Standard |
|---|
| 342 | |
|---|
| 343 | Para la granularidad diaria |
|---|
| 344 | \begin_inset Formula $\left\{ k\bullet g_{\mathbf{d}}\right\} _{k\in\mathbb{Z}}$ |
|---|
| 345 | \end_inset |
|---|
| 346 | |
|---|
| 347 | sus elementos son el número de días transcurridos desde un punto de origen |
|---|
| 348 | común a todas las granularidades |
|---|
| 349 | \begin_inset Formula $0\bullet g_{r}=0\:\forall r\in\mathcal{IG}_{6}$ |
|---|
| 350 | \end_inset |
|---|
| 351 | |
|---|
| 352 | , que se suele tomar en muchas aplicaciones, bases de datos y hojas de cálculo |
|---|
| 353 | como el IT que comienza el 1 de enero de 1900 a las 0 horas, 0 minutos |
|---|
| 354 | y 0 segundos. |
|---|
| 355 | Nótese que las granularidades que van del día al segundo son regulares |
|---|
| 356 | en el sentido de que los intervalos entre sus elementos tienen igual longitud |
|---|
| 357 | dentro de cada una, es decir, |
|---|
| 358 | \begin_inset Formula \begin{equation} |
|---|
| 359 | \exists\lambda_{r}\in\mathbb{R}^{+}\bot\left(k+1\right)\bullet g_{r}-k\bullet g_{r}=\lambda_{r}\Rightarrow k\bullet g_{r}=k\times\lambda_{r}\forall k\in\mathbb{Z},\: r=\mathbf{d},\mathbf{h},\mathbf{i},\mathbf{s}\end{equation} |
|---|
| 360 | |
|---|
| 361 | \end_inset |
|---|
| 362 | |
|---|
| 363 | |
|---|
| 364 | \layout Standard |
|---|
| 365 | |
|---|
| 366 | La unidad del calendario gregoriano es el día y por lo tanto |
|---|
| 367 | \begin_inset Formula \begin{equation} |
|---|
| 368 | \begin{array}{l} |
|---|
| 369 | \lambda_{\mathbf{d}}=1\\ |
|---|
| 370 | \lambda_{\mathbf{h}}=\frac{1}{24}\\ |
|---|
| 371 | \lambda_{\mathbf{i}}=\frac{1}{24\times60}=\frac{1}{1440}\\ |
|---|
| 372 | \lambda_{\mathbf{s}}=\frac{1}{24\times60\times60}=\frac{1}{86400}\end{array}\end{equation} |
|---|
| 373 | |
|---|
| 374 | \end_inset |
|---|
| 375 | |
|---|
| 376 | |
|---|
| 377 | \layout Standard |
|---|
| 378 | |
|---|
| 379 | También se pueden definir otras granularidades como la semanal |
|---|
| 380 | \begin_inset Formula $g_{\mathbf{w}}$ |
|---|
| 381 | \end_inset |
|---|
| 382 | |
|---|
| 383 | , que es regular con |
|---|
| 384 | \begin_inset Formula $\lambda_{\mathbf{w}}=7$ |
|---|
| 385 | \end_inset |
|---|
| 386 | |
|---|
| 387 | , aunque no formarán parte de la base gregoriana. |
|---|
| 388 | \layout Standard |
|---|
| 389 | |
|---|
| 390 | Sin embargo las granularidades mensual y la anual son irregulares pues hay |
|---|
| 391 | meses más largos que otros y lo mismo pasa con los años y sólo se tienen |
|---|
| 392 | los valores aproximados de las periodicidades |
|---|
| 393 | \begin_inset Formula $\lambda_{\mathbf{y}}\approx365.2425$ |
|---|
| 394 | \end_inset |
|---|
| 395 | |
|---|
| 396 | y |
|---|
| 397 | \begin_inset Formula $\lambda_{\mathbf{m}}\approx30.436875$ |
|---|
| 398 | \end_inset |
|---|
| 399 | |
|---|
| 400 | . |
|---|
| 401 | |
|---|
| 402 | \layout Standard |
|---|
| 403 | |
|---|
| 404 | Para la granularidad mensual |
|---|
| 405 | \begin_inset Formula $k\bullet g_{\mathbf{m}}$ |
|---|
| 406 | \end_inset |
|---|
| 407 | |
|---|
| 408 | son los días transcurridos tras los |
|---|
| 409 | \begin_inset Formula $n$ |
|---|
| 410 | \end_inset |
|---|
| 411 | |
|---|
| 412 | primeros meses desde el punto de origen si |
|---|
| 413 | \begin_inset Formula $k\geq0$ |
|---|
| 414 | \end_inset |
|---|
| 415 | |
|---|
| 416 | , o bien los días que faltan hasta ese punto contando desde |
|---|
| 417 | \begin_inset Formula $-n$ |
|---|
| 418 | \end_inset |
|---|
| 419 | |
|---|
| 420 | meses antes si es |
|---|
| 421 | \begin_inset Formula $k<0$ |
|---|
| 422 | \end_inset |
|---|
| 423 | |
|---|
| 424 | . |
|---|
| 425 | |
|---|
| 426 | \layout Standard |
|---|
| 427 | |
|---|
| 428 | Análogamente, |
|---|
| 429 | \begin_inset Formula $k\bullet g_{\mathbf{y}}$ |
|---|
| 430 | \end_inset |
|---|
| 431 | |
|---|
| 432 | son los días transcurridos tras los |
|---|
| 433 | \begin_inset Formula $k$ |
|---|
| 434 | \end_inset |
|---|
| 435 | |
|---|
| 436 | primeros años desde el punto de origen si |
|---|
| 437 | \begin_inset Formula $k\geq0$ |
|---|
| 438 | \end_inset |
|---|
| 439 | |
|---|
| 440 | o bien los días que faltan hasta ese punto contando desde |
|---|
| 441 | \begin_inset Formula $-k$ |
|---|
| 442 | \end_inset |
|---|
| 443 | |
|---|
| 444 | años antes si es |
|---|
| 445 | \begin_inset Formula $k<0$ |
|---|
| 446 | \end_inset |
|---|
| 447 | |
|---|
| 448 | . |
|---|
| 449 | |
|---|
| 450 | \layout Standard |
|---|
| 451 | |
|---|
| 452 | Existen métodos sencillos para la determinación de |
|---|
| 453 | \begin_inset Formula $k\bullet g_{\mathbf{m}}$ |
|---|
| 454 | \end_inset |
|---|
| 455 | |
|---|
| 456 | y |
|---|
| 457 | \begin_inset Formula $k\bullet g_{\mathbf{y}}$ |
|---|
| 458 | \end_inset |
|---|
| 459 | |
|---|
| 460 | a partir de la regla de cálculo de los años bisiestos que son básicamente |
|---|
| 461 | los múltiplos de 4 que no lo son de 100 a no ser que sean de 400. |
|---|
| 462 | Esto da un error en el ciclo anual menor de 3 días cada 10000 años, por |
|---|
| 463 | lo que se puede dar por válido al menos hasta el año 1582+3333=4915. |
|---|
| 464 | \layout Standard |
|---|
| 465 | |
|---|
| 466 | A efectos de implementación se usará la librería open-source |
|---|
| 467 | \begin_inset LatexCommand \htmlurl[libtai]{http://cr.yp.to/libtai.html} |
|---|
| 468 | |
|---|
| 469 | \end_inset |
|---|
| 470 | |
|---|
| 471 | para el almacenamiento y manipulación de fechas y tiempos. |
|---|
| 472 | \layout Section |
|---|
| 473 | \pagebreak_top |
|---|
| 474 | Instantes de Tiempo |
|---|
| 475 | \layout Standard |
|---|
| 476 | |
|---|
| 477 | Los instantes de tiempo, pueden medirse en un rango de unidades que va de |
|---|
| 478 | años a segundos. |
|---|
| 479 | Estas unidades representan la granularidad de cada uno de ellos. |
|---|
| 480 | Un instante de tiempo se define tomando valores en cada uno de los conceptos |
|---|
| 481 | para los cuales existe una granularidad: año, mes, día, hora, minuto y |
|---|
| 482 | segundo. |
|---|
| 483 | Pueden omitirse secuencialmente de derecha a izquierda sin que falte nunca |
|---|
| 484 | el último de todos, el año. |
|---|
| 485 | Dos instantes de tiempo guardan una relación de orden entre sí. |
|---|
| 486 | Por otro lado, un instante de tiempo puede estar contenido dentro de otro. |
|---|
| 487 | |
|---|
| 488 | \layout Standard |
|---|
| 489 | |
|---|
| 490 | A continuación se dará contenido formal matemático a estas ideas intuitivas. |
|---|
| 491 | \layout Subsection |
|---|
| 492 | |
|---|
| 493 | Definición de Instante de Tiempo |
|---|
| 494 | \layout Standard |
|---|
| 495 | |
|---|
| 496 | Desde el punto de vista matemático un |
|---|
| 497 | \series bold |
|---|
| 498 | instante de tiempo continuo |
|---|
| 499 | \series default |
|---|
| 500 | o simplemente instante de tiempo, a partir de ahora |
|---|
| 501 | \series bold |
|---|
| 502 | IT |
|---|
| 503 | \series default |
|---|
| 504 | , es un intervalo de Borel de la recta real de la forma |
|---|
| 505 | \begin_inset Formula \begin{equation} |
|---|
| 506 | \mathcal{I}\left(k,g_{r}\right)=\left[k\bullet g_{r},\left(k+1\right)\bullet g_{r}\right)\subset\mathbb{R}\wedge r\in\mathcal{IG}_{6}\end{equation} |
|---|
| 507 | |
|---|
| 508 | \end_inset |
|---|
| 509 | |
|---|
| 510 | |
|---|
| 511 | \layout Standard |
|---|
| 512 | |
|---|
| 513 | donde |
|---|
| 514 | \begin_inset Formula $k\in\mathbb{Z}$ |
|---|
| 515 | \end_inset |
|---|
| 516 | |
|---|
| 517 | es un número entero cualquiera, |
|---|
| 518 | \begin_inset Formula $g_{r}$ |
|---|
| 519 | \end_inset |
|---|
| 520 | |
|---|
| 521 | es una granularidad básica gregoriana, |
|---|
| 522 | \begin_inset Formula $k\bullet g_{r}\in\mathbb{R}$ |
|---|
| 523 | \end_inset |
|---|
| 524 | |
|---|
| 525 | representa el punto de inicio del IT y |
|---|
| 526 | \begin_inset Formula $\left(k+1\right)\bullet g_{r}\in\mathbb{R}$ |
|---|
| 527 | \end_inset |
|---|
| 528 | |
|---|
| 529 | su límite superior, que no le pertenece propiamente, por ser un intervalo |
|---|
| 530 | abierto por la derecha. |
|---|
| 531 | \layout Standard |
|---|
| 532 | |
|---|
| 533 | He aquí algunos ejemplos válidos de IT |
|---|
| 534 | \layout Itemize |
|---|
| 535 | |
|---|
| 536 | El día 9 de febrero de 1900 es el IT |
|---|
| 537 | \begin_inset Formula $\mathcal{I}\left(40,g_{\mathbf{d}}\right)=\left[40,41\right)$ |
|---|
| 538 | \end_inset |
|---|
| 539 | |
|---|
| 540 | |
|---|
| 541 | \layout Itemize |
|---|
| 542 | |
|---|
| 543 | El mes de enero de 1900 es el IT |
|---|
| 544 | \begin_inset Formula $\mathcal{I}\left(0,g_{\mathbf{m}}\right)=\left[0,31\right)$ |
|---|
| 545 | \end_inset |
|---|
| 546 | |
|---|
| 547 | |
|---|
| 548 | \layout Standard |
|---|
| 549 | |
|---|
| 550 | Al conjunto de todos los IT para cualquiera de estas 6 granularidades le |
|---|
| 551 | llamaremos |
|---|
| 552 | \begin_inset Formula $\mathfrak{C}_{6}$ |
|---|
| 553 | \end_inset |
|---|
| 554 | |
|---|
| 555 | . |
|---|
| 556 | La cardinalidad de cada |
|---|
| 557 | \begin_inset Formula $\mathfrak{C}_{R>6}$ |
|---|
| 558 | \end_inset |
|---|
| 559 | |
|---|
| 560 | definible por extensión de la base de granularidades sería la del infinito |
|---|
| 561 | numerable |
|---|
| 562 | \begin_inset Formula $\infty$ |
|---|
| 563 | \end_inset |
|---|
| 564 | |
|---|
| 565 | . |
|---|
| 566 | Sólo en el límite |
|---|
| 567 | \begin_inset Formula $\mathfrak{C}_{\infty}$ |
|---|
| 568 | \end_inset |
|---|
| 569 | |
|---|
| 570 | se alcanzaría la cardinalidad del continuo |
|---|
| 571 | \begin_inset Formula $\infty^{\infty}$ |
|---|
| 572 | \end_inset |
|---|
| 573 | |
|---|
| 574 | . |
|---|
| 575 | \layout Subsubsection |
|---|
| 576 | |
|---|
| 577 | Ampliación de |
|---|
| 578 | \begin_inset Formula $\mathfrak{C}_{6}$ |
|---|
| 579 | \end_inset |
|---|
| 580 | |
|---|
| 581 | con instantes de tiempo impropios |
|---|
| 582 | \layout Standard |
|---|
| 583 | |
|---|
| 584 | El conjunto de los IT de una misma granularidad es una teselación de la |
|---|
| 585 | recta real, es decir, la intersección de cada par de ellos es nula y su |
|---|
| 586 | unión es toda la recta real. |
|---|
| 587 | Cada uno de ellos define por tanto una sucesión infinita en la cual es |
|---|
| 588 | posible definir los instantes de tiempo límite como los límites a los que |
|---|
| 589 | convergen, para todas las granularidades, las sucesiones de instantes por |
|---|
| 590 | la izquierda y por la derecha |
|---|
| 591 | \layout Standard |
|---|
| 592 | |
|---|
| 593 | |
|---|
| 594 | \begin_inset Formula \begin{equation} |
|---|
| 595 | \begin{array}{c} |
|---|
| 596 | \mathcal{I}\left(-\infty\right)=\lim_{k\rightarrow-\infty}\mathcal{I}\left(k,g\right)=\left\{ -\infty\right\} \forall g\in\mathcal{G}_{6}\\ |
|---|
| 597 | \mathcal{I}\left(\infty\right)=\lim_{k\rightarrow\infty}\mathcal{I}\left(k,g\right)=\left\{ \infty\right\} \forall g\in\mathcal{G}_{6}\end{array}\end{equation} |
|---|
| 598 | |
|---|
| 599 | \end_inset |
|---|
| 600 | |
|---|
| 601 | |
|---|
| 602 | \layout Standard |
|---|
| 603 | |
|---|
| 604 | Obsérvese que dichos instantes límite no son propiamente intervalos sino |
|---|
| 605 | que se trata de puntos de la recta real ampliada con los que se amplía |
|---|
| 606 | a su vez el conjunto |
|---|
| 607 | \begin_inset Formula $\mathfrak{C}_{6}$ |
|---|
| 608 | \end_inset |
|---|
| 609 | |
|---|
| 610 | . |
|---|
| 611 | |
|---|
| 612 | \layout Standard |
|---|
| 613 | |
|---|
| 614 | También se amplía el concepto de IT con el IT desconocido o indeterminado |
|---|
| 615 | |
|---|
| 616 | \begin_inset Formula $\mathcal{I}\left(?\right)$ |
|---|
| 617 | \end_inset |
|---|
| 618 | |
|---|
| 619 | que se utilizará para expresar que no existe el resultado de una expresión |
|---|
| 620 | que debería devolver un IT. |
|---|
| 621 | Este IT indeterminado no pertenece realmente a |
|---|
| 622 | \begin_inset Formula $\mathfrak{C}_{6}$ |
|---|
| 623 | \end_inset |
|---|
| 624 | |
|---|
| 625 | pero en ocasiones se escribirá |
|---|
| 626 | \begin_inset Formula $\mathfrak{C}_{6}-\left\{ \mathcal{I}\left(?\right)\right\} $ |
|---|
| 627 | \end_inset |
|---|
| 628 | |
|---|
| 629 | para recalcarlo. |
|---|
| 630 | Del mismo modo se escribirá |
|---|
| 631 | \begin_inset Formula $\mathfrak{C}_{6}-\left\{ \mathcal{I}\left(-\infty\right),\mathcal{I}\left(\infty\right)\right\} $ |
|---|
| 632 | \end_inset |
|---|
| 633 | |
|---|
| 634 | o cualquier combinación de exclusiones. |
|---|
| 635 | A estos tres IT's se les llamará IT's impropios y al resto, los que se |
|---|
| 636 | pueden expresar como |
|---|
| 637 | \begin_inset Formula $\mathcal{I}\left(k,g\right)$ |
|---|
| 638 | \end_inset |
|---|
| 639 | |
|---|
| 640 | , se les llamará IT propios. |
|---|
| 641 | Si no se indica otra cosa se entenderá siempre que un IT es propio. |
|---|
| 642 | \layout Subsection |
|---|
| 643 | |
|---|
| 644 | Estructura Algebraica de |
|---|
| 645 | \begin_inset Formula $\mathfrak{C}_{6}$ |
|---|
| 646 | \end_inset |
|---|
| 647 | |
|---|
| 648 | |
|---|
| 649 | \layout Standard |
|---|
| 650 | |
|---|
| 651 | Se van a definir operaciones algebraicas entre instantes de tiempo y entre |
|---|
| 652 | estos y los números enteros que permitirán manejar estos objetos desde |
|---|
| 653 | un punto vista formal. |
|---|
| 654 | \layout Subsubsection |
|---|
| 655 | |
|---|
| 656 | Operaciones externas |
|---|
| 657 | \layout Standard |
|---|
| 658 | |
|---|
| 659 | A continuación se describen algunas funciones de acceso a las propiedades |
|---|
| 660 | de un IT y otras funciones relacionadas con el tratamiento del tiempo |
|---|
| 661 | \layout Paragraph |
|---|
| 662 | |
|---|
| 663 | Granularidad |
|---|
| 664 | \layout Standard |
|---|
| 665 | |
|---|
| 666 | A la sucesión |
|---|
| 667 | \begin_inset Formula $g$ |
|---|
| 668 | \end_inset |
|---|
| 669 | |
|---|
| 670 | le llamaremos granularidad del IT, y a la función que la devuelve |
|---|
| 671 | \begin_inset Formula \begin{equation} |
|---|
| 672 | granul\left(\mathcal{\mathcal{I}}\left(k,g\right)\right)=g\in\mathcal{G}_{6}\quad\forall k\in\mathbb{Z}\end{equation} |
|---|
| 673 | |
|---|
| 674 | \end_inset |
|---|
| 675 | |
|---|
| 676 | |
|---|
| 677 | \layout Paragraph |
|---|
| 678 | |
|---|
| 679 | Ordinal |
|---|
| 680 | \layout Standard |
|---|
| 681 | |
|---|
| 682 | Al valor entero |
|---|
| 683 | \begin_inset Formula $k$ |
|---|
| 684 | \end_inset |
|---|
| 685 | |
|---|
| 686 | le llamaremos ordinal del IT y a la función correspondiente |
|---|
| 687 | \begin_inset Formula \begin{equation} |
|---|
| 688 | ord\left(\mathcal{\mathcal{I}}\left(k,g\right)\right)=k\in\mathbb{Z}\quad\forall g\in\mathcal{G}_{6}\end{equation} |
|---|
| 689 | |
|---|
| 690 | \end_inset |
|---|
| 691 | |
|---|
| 692 | |
|---|
| 693 | \layout Paragraph |
|---|
| 694 | |
|---|
| 695 | Punto de inicio |
|---|
| 696 | \layout Standard |
|---|
| 697 | |
|---|
| 698 | Al valor real |
|---|
| 699 | \begin_inset Formula $t=k\bullet g$ |
|---|
| 700 | \end_inset |
|---|
| 701 | |
|---|
| 702 | le llamaremos punto de inicio, y a la función que devuelve dicho punto |
|---|
| 703 | de inicio para un IT le llamaremos |
|---|
| 704 | \begin_inset Formula \begin{equation} |
|---|
| 705 | startOf\left(\mathcal{I}\left(k,g\right)\right)=t=k\bullet g\in\mathbb{R}\quad\forall k\in\mathbb{Z}\: g\in\mathcal{G}_{6}\end{equation} |
|---|
| 706 | |
|---|
| 707 | \end_inset |
|---|
| 708 | |
|---|
| 709 | |
|---|
| 710 | \layout Paragraph |
|---|
| 711 | |
|---|
| 712 | Distancia en una granularidad |
|---|
| 713 | \layout Standard |
|---|
| 714 | |
|---|
| 715 | Se define la función distancia entre dos puntos reales en una granularidad |
|---|
| 716 | |
|---|
| 717 | \begin_inset Formula $g_{r}\in\mathcal{G}_{6}$ |
|---|
| 718 | \end_inset |
|---|
| 719 | |
|---|
| 720 | como el número de IT's de esa granularidad incluidos entre esos dos puntos. |
|---|
| 721 | Es decir |
|---|
| 722 | \begin_inset Formula \begin{equation} |
|---|
| 723 | \left\langle t,\, t'\right\rangle _{g_{r}}=Card\left\{ \left.\mathcal{\mathcal{I}}\left(j,g_{r}\right)\right|t\leq j\bullet g_{r}\wedge\left(j+1\right)\bullet g_{r}<t'\right\} \quad\forall t,t'\in\mathbb{R}\end{equation} |
|---|
| 724 | |
|---|
| 725 | \end_inset |
|---|
| 726 | |
|---|
| 727 | |
|---|
| 728 | \layout Standard |
|---|
| 729 | |
|---|
| 730 | Se define la distancia entre dos IT's en una granularidad como la distancia |
|---|
| 731 | entre sus puntos de origen en esa misma granularidad. |
|---|
| 732 | \begin_inset Formula \begin{equation} |
|---|
| 733 | \left\langle \mathcal{\mathcal{I}}\left(k,g\right),\,\mathcal{\mathcal{I}}\left(k',g'\right)\right\rangle _{g_{r}}=\left\langle k\bullet g,\, k'\bullet g'\right\rangle _{g_{r}}\quad\forall k,k'\in\mathbb{Z}\end{equation} |
|---|
| 734 | |
|---|
| 735 | \end_inset |
|---|
| 736 | |
|---|
| 737 | |
|---|
| 738 | \layout Standard |
|---|
| 739 | |
|---|
| 740 | En particular para dos IT's con granularidad |
|---|
| 741 | \begin_inset Formula $g_{r}$ |
|---|
| 742 | \end_inset |
|---|
| 743 | |
|---|
| 744 | se tiene que |
|---|
| 745 | \layout Standard |
|---|
| 746 | |
|---|
| 747 | |
|---|
| 748 | \begin_inset Formula \begin{equation} |
|---|
| 749 | \left\langle \mathcal{\mathcal{I}}\left(k,g_{r}\right),\,\mathcal{\mathcal{I}}\left(k',g_{r}\right)\right\rangle _{g_{r}}=\left\langle k\bullet g_{r},\, k'\bullet g_{r}\right\rangle _{g_{r}}=\left\{ \begin{array}{cc} |
|---|
| 750 | k'-k & si\: k'>k\\ |
|---|
| 751 | 0 & si\: k'\leq k\end{array}\right.\quad\forall k,k'\in\mathbb{Z}\end{equation} |
|---|
| 752 | |
|---|
| 753 | \end_inset |
|---|
| 754 | |
|---|
| 755 | |
|---|
| 756 | \layout Standard |
|---|
| 757 | |
|---|
| 758 | Obviamente, cuanto más fina es la granularidad mayor es la distancia entre |
|---|
| 759 | los mismos puntos. |
|---|
| 760 | \layout Paragraph |
|---|
| 761 | |
|---|
| 762 | Funciones de coordenadas gregorianas |
|---|
| 763 | \layout Standard |
|---|
| 764 | |
|---|
| 765 | En virtud del calendario gregoriano se definen también las funciones de |
|---|
| 766 | coordenadas gregorianas |
|---|
| 767 | \begin_inset Formula \begin{equation} |
|---|
| 768 | \begin{array}{cccc} |
|---|
| 769 | year\left(t\right) & :\mathbb{R}\rightarrow & RG_{\mathbf{y}}=\mathbb{Z}\cap & \left[1583,\,4999999\right]\\ |
|---|
| 770 | month\left(t\right) & :\mathbb{R}\rightarrow & RG_{\mathbf{m}}=\mathbb{Z}\cap & \left[1,\,12\right]\\ |
|---|
| 771 | day\left(t\right) & :\mathbb{R}\rightarrow & RG_{\mathbf{d}}=\mathbb{Z}\cap & \left[1,\,31\right]\\ |
|---|
| 772 | hour\left(t\right) & :\mathbb{R}\rightarrow & RG_{\mathbf{h}}=\mathbb{Z}\cap & \left[0,\,23\right]\\ |
|---|
| 773 | minute\left(t\right) & :\mathbb{R}\rightarrow & RG_{\mathbf{i}}=\mathbb{Z}\cap & \left[0,\,59\right]\\ |
|---|
| 774 | second\left(t\right) & :\mathbb{R}\rightarrow & RG_{\mathbf{s}}=\mathbb{Z}\cap & \left[0,\,59\right]\end{array}\end{equation} |
|---|
| 775 | |
|---|
| 776 | \end_inset |
|---|
| 777 | |
|---|
| 778 | |
|---|
| 779 | \layout Standard |
|---|
| 780 | |
|---|
| 781 | que devuelven para cada punto de la recta real el año, mes, día, hora, minuto |
|---|
| 782 | y segundo al que corresponde en dicho calendario. |
|---|
| 783 | A los conjuntos |
|---|
| 784 | \begin_inset Formula $RG_{r}$ |
|---|
| 785 | \end_inset |
|---|
| 786 | |
|---|
| 787 | les llamaremos |
|---|
| 788 | \emph on |
|---|
| 789 | rangos de coordenadas gregorianas |
|---|
| 790 | \emph default |
|---|
| 791 | . |
|---|
| 792 | También se define del mismo modo la función que devuelve el día de la semana |
|---|
| 793 | que, aunque no es una coordenada de la base tiene mucha importancia en |
|---|
| 794 | el tratamiento del tiempo social. |
|---|
| 795 | |
|---|
| 796 | \begin_inset Formula \begin{equation} |
|---|
| 797 | weekDay\left(t\right):\mathbb{R}\rightarrow RG_{\mathbf{w}}=\mathbb{Z}\cap\left[1,\,7\right]\end{equation} |
|---|
| 798 | |
|---|
| 799 | \end_inset |
|---|
| 800 | |
|---|
| 801 | |
|---|
| 802 | \layout Paragraph |
|---|
| 803 | |
|---|
| 804 | Representación de instantes de tiempo |
|---|
| 805 | \layout Standard |
|---|
| 806 | |
|---|
| 807 | Un IT |
|---|
| 808 | \begin_inset Formula $\mathcal{I}\left(k,g_{r}\right)$ |
|---|
| 809 | \end_inset |
|---|
| 810 | |
|---|
| 811 | se puede representar como una |
|---|
| 812 | \begin_inset Formula $r$ |
|---|
| 813 | \end_inset |
|---|
| 814 | |
|---|
| 815 | -tupla con |
|---|
| 816 | \begin_inset Formula $r=1\ldots6$ |
|---|
| 817 | \end_inset |
|---|
| 818 | |
|---|
| 819 | |
|---|
| 820 | \begin_inset Formula \begin{equation} |
|---|
| 821 | IT\left(c_{1},...,c_{r}\right):RG_{1}\times\cdots\times RG_{r}\rightarrow\mathfrak{C}_{6}\end{equation} |
|---|
| 822 | |
|---|
| 823 | \end_inset |
|---|
| 824 | |
|---|
| 825 | |
|---|
| 826 | \layout Standard |
|---|
| 827 | |
|---|
| 828 | donde los |
|---|
| 829 | \begin_inset Formula $c_{k=1..s}$ |
|---|
| 830 | \end_inset |
|---|
| 831 | |
|---|
| 832 | son las coordenadas gregorianas del punto de inicio del IT incluyendo sólo |
|---|
| 833 | las significativas en su granularidad. |
|---|
| 834 | \begin_inset Formula \begin{equation} |
|---|
| 835 | \begin{array}{cccc} |
|---|
| 836 | c_{1}= & year\left(k\bullet g_{r}\right) & \quad c_{2}= & month\left(k\bullet g_{r}\right)\\ |
|---|
| 837 | c_{3}= & day\left(k\bullet g_{r}\right) & \quad c_{4}= & hour\left(k\bullet g_{r}\right)\\ |
|---|
| 838 | c_{5}= & minute\left(k\bullet g_{r}\right) & \quad c_{6}= & second\left(k\bullet g_{r}\right)\end{array}\end{equation} |
|---|
| 839 | |
|---|
| 840 | \end_inset |
|---|
| 841 | |
|---|
| 842 | |
|---|
| 843 | \layout Standard |
|---|
| 844 | |
|---|
| 845 | La función de representación |
|---|
| 846 | \begin_inset Formula $IT\left(c_{1},...,c_{s}\right)$ |
|---|
| 847 | \end_inset |
|---|
| 848 | |
|---|
| 849 | también se puede expresar como |
|---|
| 850 | \layout Standard |
|---|
| 851 | |
|---|
| 852 | |
|---|
| 853 | \begin_inset Formula \begin{equation} |
|---|
| 854 | IT\left(c_{1},...,c_{6}\right)=y\left\langle c_{1}\right\rangle m\left\langle c_{2}\right\rangle d\left\langle c_{3}\right\rangle h\left\langle c_{4}\right\rangle i\left\langle c_{5}\right\rangle s\left\langle c_{6}\right\rangle \end{equation} |
|---|
| 855 | |
|---|
| 856 | \end_inset |
|---|
| 857 | |
|---|
| 858 | Por ejemplo: |
|---|
| 859 | \layout Itemize |
|---|
| 860 | |
|---|
| 861 | |
|---|
| 862 | \begin_inset Formula $it_{1}=IT(2005)=y2005$ |
|---|
| 863 | \end_inset |
|---|
| 864 | |
|---|
| 865 | será el IT que representa al año 2005, su granularidad será |
|---|
| 866 | \begin_inset Quotes eld |
|---|
| 867 | \end_inset |
|---|
| 868 | |
|---|
| 869 | anual |
|---|
| 870 | \begin_inset Quotes erd |
|---|
| 871 | \end_inset |
|---|
| 872 | |
|---|
| 873 | . |
|---|
| 874 | \layout Itemize |
|---|
| 875 | |
|---|
| 876 | |
|---|
| 877 | \begin_inset Formula $it_{2}=IT(2005,5)=y2005m5$ |
|---|
| 878 | \end_inset |
|---|
| 879 | |
|---|
| 880 | será el IT que representa el mes 5 del año 2005, su granularidad será |
|---|
| 881 | \begin_inset Quotes eld |
|---|
| 882 | \end_inset |
|---|
| 883 | |
|---|
| 884 | mensual |
|---|
| 885 | \begin_inset Quotes erd |
|---|
| 886 | \end_inset |
|---|
| 887 | |
|---|
| 888 | . |
|---|
| 889 | \layout Itemize |
|---|
| 890 | |
|---|
| 891 | |
|---|
| 892 | \begin_inset Formula $it_{3}=IT(2005,5,15)=y2005m5d15$ |
|---|
| 893 | \end_inset |
|---|
| 894 | |
|---|
| 895 | será el IT que representa el día 15 de Mayo de 2005, su granularidad será |
|---|
| 896 | |
|---|
| 897 | \begin_inset Quotes eld |
|---|
| 898 | \end_inset |
|---|
| 899 | |
|---|
| 900 | diaria |
|---|
| 901 | \begin_inset Quotes erd |
|---|
| 902 | \end_inset |
|---|
| 903 | |
|---|
| 904 | . |
|---|
| 905 | \layout Itemize |
|---|
| 906 | |
|---|
| 907 | |
|---|
| 908 | \begin_inset Formula $it_{4}=IT(2005,5,15,0)=y2005m5d15h0$ |
|---|
| 909 | \end_inset |
|---|
| 910 | |
|---|
| 911 | será el IT que representa la hora 0 del día 15 de Mayo de 2005, su granularidad |
|---|
| 912 | será |
|---|
| 913 | \begin_inset Quotes eld |
|---|
| 914 | \end_inset |
|---|
| 915 | |
|---|
| 916 | horaria |
|---|
| 917 | \begin_inset Quotes erd |
|---|
| 918 | \end_inset |
|---|
| 919 | |
|---|
| 920 | . |
|---|
| 921 | \layout Itemize |
|---|
| 922 | |
|---|
| 923 | |
|---|
| 924 | \begin_inset Formula $it_{5}=IT(2005,5,15,0,53)=y2005m5d15h0i53$ |
|---|
| 925 | \end_inset |
|---|
| 926 | |
|---|
| 927 | será el IT que representa el minuto 53 de la hora 0 del día 15 de Mayo |
|---|
| 928 | de 2005, su granularidad será |
|---|
| 929 | \begin_inset Quotes eld |
|---|
| 930 | \end_inset |
|---|
| 931 | |
|---|
| 932 | minutal |
|---|
| 933 | \begin_inset Quotes erd |
|---|
| 934 | \end_inset |
|---|
| 935 | |
|---|
| 936 | . |
|---|
| 937 | \layout Itemize |
|---|
| 938 | |
|---|
| 939 | |
|---|
| 940 | \begin_inset Formula $it_{6}=IT(2005,5,15,0,53,12)=y2005m5d15h0i53s12$ |
|---|
| 941 | \end_inset |
|---|
| 942 | |
|---|
| 943 | será el IT que representa el segundo 12 del minuto 53 de la hora 0 del |
|---|
| 944 | día 15 de Mayo de 2005, su granularidad será |
|---|
| 945 | \begin_inset Quotes eld |
|---|
| 946 | \end_inset |
|---|
| 947 | |
|---|
| 948 | secundal |
|---|
| 949 | \begin_inset Quotes erd |
|---|
| 950 | \end_inset |
|---|
| 951 | |
|---|
| 952 | . |
|---|
| 953 | \layout Subsubsection |
|---|
| 954 | |
|---|
| 955 | Relación de Equivalencia |
|---|
| 956 | \layout Standard |
|---|
| 957 | |
|---|
| 958 | Se define la siguiente relación binaria entre instantes de tiempo |
|---|
| 959 | \begin_inset Formula \begin{equation} |
|---|
| 960 | \mathcal{\mathcal{I}}\left(k,g\right)=\mathcal{\mathcal{I}}\left(k',g'\right)\Leftrightarrow k=k'\wedge g=g'\end{equation} |
|---|
| 961 | |
|---|
| 962 | \end_inset |
|---|
| 963 | |
|---|
| 964 | |
|---|
| 965 | \layout Standard |
|---|
| 966 | |
|---|
| 967 | Es decir dos instantes de tiempo son iguales si y sólo si tienen el mismo |
|---|
| 968 | origen y la misma granularidad. |
|---|
| 969 | Obviamente se trata de una |
|---|
| 970 | \emph on |
|---|
| 971 | relación de equivalencia |
|---|
| 972 | \emph default |
|---|
| 973 | , es decir, cumple las propiedades |
|---|
| 974 | \emph on |
|---|
| 975 | reflexiva |
|---|
| 976 | \emph default |
|---|
| 977 | , |
|---|
| 978 | \emph on |
|---|
| 979 | simétrica |
|---|
| 980 | \emph default |
|---|
| 981 | y |
|---|
| 982 | \emph on |
|---|
| 983 | transitiva |
|---|
| 984 | \emph default |
|---|
| 985 | . |
|---|
| 986 | \layout Subsubsection |
|---|
| 987 | |
|---|
| 988 | Operadores siguiente y anterior de un IT |
|---|
| 989 | \begin_inset LatexCommand \label{sub:IT-Siguiente-de-un-IT} |
|---|
| 990 | |
|---|
| 991 | \end_inset |
|---|
| 992 | |
|---|
| 993 | |
|---|
| 994 | \layout Standard |
|---|
| 995 | |
|---|
| 996 | El |
|---|
| 997 | \series bold |
|---|
| 998 | IT siguiente de un IT |
|---|
| 999 | \series default |
|---|
| 1000 | es el instante de tiempo inmediatamente superior en la granularidad del |
|---|
| 1001 | IT, lo cual se puede expresar formalmente como |
|---|
| 1002 | \begin_inset Formula \[ |
|---|
| 1003 | \mathcal{I}\left(k,g\right)+1=\mathcal{I}\left(k+1,g\right)=\left[\left(k+1\right)\bullet g,\left(k+2\right)\bullet g\right)\] |
|---|
| 1004 | |
|---|
| 1005 | \end_inset |
|---|
| 1006 | |
|---|
| 1007 | |
|---|
| 1008 | \layout Standard |
|---|
| 1009 | |
|---|
| 1010 | Del mismo modo el |
|---|
| 1011 | \series bold |
|---|
| 1012 | IT anterior de un IT |
|---|
| 1013 | \series default |
|---|
| 1014 | es el instante de tiempo inmediatamente inferior en la granularidad del |
|---|
| 1015 | IT, lo cual se puede expresar formalmente como |
|---|
| 1016 | \begin_inset Formula \begin{equation} |
|---|
| 1017 | \mathcal{I}\left(k,g\right)-1=\mathcal{I}\left(k-1,g\right)=\left[\left(k-1\right)\bullet g,k\bullet g\right)\end{equation} |
|---|
| 1018 | |
|---|
| 1019 | \end_inset |
|---|
| 1020 | |
|---|
| 1021 | |
|---|
| 1022 | \layout Standard |
|---|
| 1023 | |
|---|
| 1024 | Estas operaciones se pueden aplicar recursivamente |
|---|
| 1025 | \layout Standard |
|---|
| 1026 | |
|---|
| 1027 | |
|---|
| 1028 | \begin_inset Formula \begin{equation} |
|---|
| 1029 | \begin{array}{c} |
|---|
| 1030 | \mathcal{\mathcal{I}}\left(k,g\right)+n=\mathcal{\mathcal{I}}\left(k+n,g\right)=\left[\left(k+n\right)\bullet g,\left(k+n+1\right)\bullet g\right)\forall n\in\mathbb{Z}^{+}\\ |
|---|
| 1031 | \mathcal{\mathcal{I}}\left(k,g\right)-n=\mathcal{\mathcal{I}}\left(k-n,g\right)=\left[\left(k-n\right)\bullet g,\left(k-n+1\right)\bullet g\right)\forall n\in\mathbb{Z}^{+}\\ |
|---|
| 1032 | \mathcal{I}\left(k,g\right)+0=\mathcal{I}\left(k,g\right)-0=\mathcal{I}\left(k+0,g\right)=\mathcal{I}\left(k,g\right)\end{array}\end{equation} |
|---|
| 1033 | |
|---|
| 1034 | \end_inset |
|---|
| 1035 | |
|---|
| 1036 | |
|---|
| 1037 | \layout Standard |
|---|
| 1038 | |
|---|
| 1039 | Por lo tanto se puede extender el concepto de |
|---|
| 1040 | \series bold |
|---|
| 1041 | IT siguiente |
|---|
| 1042 | \begin_inset Formula $n$ |
|---|
| 1043 | \end_inset |
|---|
| 1044 | |
|---|
| 1045 | -ésimo de un IT |
|---|
| 1046 | \series default |
|---|
| 1047 | a todo |
|---|
| 1048 | \begin_inset Formula $\mathbb{Z}$ |
|---|
| 1049 | \end_inset |
|---|
| 1050 | |
|---|
| 1051 | . |
|---|
| 1052 | \layout Standard |
|---|
| 1053 | |
|---|
| 1054 | Obsérvese que esta operación es neutra respecto a los IT impropios |
|---|
| 1055 | \layout Standard |
|---|
| 1056 | |
|---|
| 1057 | |
|---|
| 1058 | \begin_inset Formula \begin{equation} |
|---|
| 1059 | \begin{array}{c} |
|---|
| 1060 | \mathcal{I}\left(-\infty\right)+n=\mathcal{I}\left(-\infty\right)\forall n\in\mathbb{Z}\\ |
|---|
| 1061 | \mathcal{I}\left(\infty\right)+n=\mathcal{I}\left(\infty\right)\forall n\in\mathbb{Z}\\ |
|---|
| 1062 | \mathcal{I}\left(?\right)+n=\mathcal{I}\left(?\right)\forall n\in\mathbb{Z}\end{array}\end{equation} |
|---|
| 1063 | |
|---|
| 1064 | \end_inset |
|---|
| 1065 | |
|---|
| 1066 | |
|---|
| 1067 | \layout Standard |
|---|
| 1068 | |
|---|
| 1069 | He aquí algunos ejemplos ilustrativos: |
|---|
| 1070 | \layout Standard |
|---|
| 1071 | |
|---|
| 1072 | |
|---|
| 1073 | \begin_inset Formula $y2005+1=y2006$ |
|---|
| 1074 | \end_inset |
|---|
| 1075 | |
|---|
| 1076 | |
|---|
| 1077 | \layout Standard |
|---|
| 1078 | |
|---|
| 1079 | |
|---|
| 1080 | \begin_inset Formula $y2005-1=y2004$ |
|---|
| 1081 | \end_inset |
|---|
| 1082 | |
|---|
| 1083 | |
|---|
| 1084 | \layout Standard |
|---|
| 1085 | |
|---|
| 1086 | |
|---|
| 1087 | \begin_inset Formula $y2005m3-10=y2004m5$ |
|---|
| 1088 | \end_inset |
|---|
| 1089 | |
|---|
| 1090 | |
|---|
| 1091 | \layout Standard |
|---|
| 1092 | |
|---|
| 1093 | |
|---|
| 1094 | \begin_inset Formula $y2006m9d4h23+2=y2006m9d5h1$ |
|---|
| 1095 | \end_inset |
|---|
| 1096 | |
|---|
| 1097 | |
|---|
| 1098 | \layout Subsubsection |
|---|
| 1099 | |
|---|
| 1100 | Relación de Orden |
|---|
| 1101 | \layout Standard |
|---|
| 1102 | |
|---|
| 1103 | Se define la siguiente relación binaria entre instantes de tiempo |
|---|
| 1104 | \layout Standard |
|---|
| 1105 | |
|---|
| 1106 | |
|---|
| 1107 | \begin_inset Formula \begin{equation} |
|---|
| 1108 | \mathcal{I}\left(k,g\right)<\mathcal{I}\left(k',g'\right)\Leftrightarrow\left(k\bullet g<k'\bullet g'\right)\vee\left(k\bullet g=k'\bullet g'\wedge g<g'\right)\end{equation} |
|---|
| 1109 | |
|---|
| 1110 | \end_inset |
|---|
| 1111 | |
|---|
| 1112 | que se lee así: un IT |
|---|
| 1113 | \emph on |
|---|
| 1114 | es estrictamente menor que |
|---|
| 1115 | \emph default |
|---|
| 1116 | otro si y sólo sí, o bien comienza antes, o bien comienza en el mismo momento |
|---|
| 1117 | pero acaba antes. |
|---|
| 1118 | Por ejemplo, |
|---|
| 1119 | \begin_inset Formula $y2005<y2006$ |
|---|
| 1120 | \end_inset |
|---|
| 1121 | |
|---|
| 1122 | , |
|---|
| 1123 | \begin_inset Formula $y2005m1<y2005$ |
|---|
| 1124 | \end_inset |
|---|
| 1125 | |
|---|
| 1126 | |
|---|
| 1127 | \layout Standard |
|---|
| 1128 | |
|---|
| 1129 | En virtud de dicha relación se puede definir la relación binaria |
|---|
| 1130 | \layout Standard |
|---|
| 1131 | |
|---|
| 1132 | |
|---|
| 1133 | \begin_inset Formula \begin{equation} |
|---|
| 1134 | \mathcal{I}\left(k,g\right)\leq\mathcal{I}\left(k',g'\right)\Leftrightarrow\mathcal{I}\left(k,g\right)<\mathcal{I}\left(k',g'\right)\vee\mathcal{I}\left(k,g\right)=\mathcal{I}\left(k',g'\right)\end{equation} |
|---|
| 1135 | |
|---|
| 1136 | \end_inset |
|---|
| 1137 | |
|---|
| 1138 | |
|---|
| 1139 | \layout Standard |
|---|
| 1140 | |
|---|
| 1141 | Esta relación cumple las propiedades de una |
|---|
| 1142 | \emph on |
|---|
| 1143 | relación de orden total |
|---|
| 1144 | \layout Itemize |
|---|
| 1145 | |
|---|
| 1146 | |
|---|
| 1147 | \emph on |
|---|
| 1148 | Reflexiva |
|---|
| 1149 | \emph default |
|---|
| 1150 | : todo IT es menor o igual que sí mismo, |
|---|
| 1151 | \begin_inset Formula \begin{equation} |
|---|
| 1152 | \mathcal{I}\left(k,g\right)\leq\mathcal{I}\left(k,g\right)\end{equation} |
|---|
| 1153 | |
|---|
| 1154 | \end_inset |
|---|
| 1155 | |
|---|
| 1156 | |
|---|
| 1157 | \layout Itemize |
|---|
| 1158 | |
|---|
| 1159 | |
|---|
| 1160 | \emph on |
|---|
| 1161 | Antisimétrica |
|---|
| 1162 | \emph default |
|---|
| 1163 | : si un IT es menor o igual que otro y viceversa entonces son iguales |
|---|
| 1164 | \begin_inset Formula \begin{equation} |
|---|
| 1165 | \mathcal{\mathcal{I}}\left(k,g\right)\leq\mathcal{\mathcal{I}}\left(k',g'\right)\wedge\mathcal{I}\left(k',g'\right)\leq\mathcal{\mathcal{I}}\left(k,g\right)\Rightarrow\mathcal{\mathcal{I}}\left(k,g\right)=\mathcal{\mathcal{I}}\left(k',g'\right)\end{equation} |
|---|
| 1166 | |
|---|
| 1167 | \end_inset |
|---|
| 1168 | |
|---|
| 1169 | |
|---|
| 1170 | \layout Itemize |
|---|
| 1171 | |
|---|
| 1172 | |
|---|
| 1173 | \emph on |
|---|
| 1174 | Transitiva |
|---|
| 1175 | \emph default |
|---|
| 1176 | : si un IT es menor o gual que otro y éste lo es respecto a un tercero entonces |
|---|
| 1177 | el primero es menor o igual que este último |
|---|
| 1178 | \begin_inset Formula \begin{equation} |
|---|
| 1179 | \mathcal{I}\left(k,g\right)\leq\mathcal{\mathcal{I}}\left(k',g'\right)\wedge\mathcal{\mathcal{I}}\left(k',g'\right)\leq\mathcal{\mathcal{I}}\left(k'',g''\right)\Rightarrow\mathcal{\mathcal{I}}\left(k,g\right)=\mathcal{\mathcal{I}}\left(k'',g''\right)\end{equation} |
|---|
| 1180 | |
|---|
| 1181 | \end_inset |
|---|
| 1182 | |
|---|
| 1183 | |
|---|
| 1184 | \layout Itemize |
|---|
| 1185 | |
|---|
| 1186 | |
|---|
| 1187 | \emph on |
|---|
| 1188 | Conexa |
|---|
| 1189 | \emph default |
|---|
| 1190 | : dados dos IT cualesquiera uno de los dos es menor o igual que el otro |
|---|
| 1191 | \begin_inset Formula \begin{equation} |
|---|
| 1192 | \mathcal{\mathcal{I}}\left(k,g\right)\leq\mathcal{\mathcal{I}}\left(k',g'\right)\vee\mathcal{\mathcal{I}}\left(k',g'\right)\leq\mathcal{I}\left(k,g\right)\forall\mathcal{I}\left(k,g\right),\mathcal{I}\left(k',g'\right)\in\mathfrak{C}_{6}\end{equation} |
|---|
| 1193 | |
|---|
| 1194 | \end_inset |
|---|
| 1195 | |
|---|
| 1196 | |
|---|
| 1197 | \layout Standard |
|---|
| 1198 | |
|---|
| 1199 | Por lo tanto es posible definir de la forma usual las funciones típicas |
|---|
| 1200 | de un orden total como el mínimo y el máximo de un conjunto de IT's o el |
|---|
| 1201 | límite por la izquierda y por la derecha. |
|---|
| 1202 | \layout Standard |
|---|
| 1203 | |
|---|
| 1204 | Obsérvese que no es posible comparar un IT con |
|---|
| 1205 | \begin_inset Formula $\mathcal{I}\left(?\right)$ |
|---|
| 1206 | \end_inset |
|---|
| 1207 | |
|---|
| 1208 | y que |
|---|
| 1209 | \layout Standard |
|---|
| 1210 | |
|---|
| 1211 | |
|---|
| 1212 | \begin_inset Formula \begin{equation} |
|---|
| 1213 | \mathcal{I}\left(-\infty\right)<\mathcal{\mathcal{I}}\left(k,g\right)<\mathcal{I}\left(\infty\right)\forall\mathcal{I}\left(k,g\right)\in\mathfrak{C}_{6}\end{equation} |
|---|
| 1214 | |
|---|
| 1215 | \end_inset |
|---|
| 1216 | |
|---|
| 1217 | |
|---|
| 1218 | \layout Subsubsection |
|---|
| 1219 | |
|---|
| 1220 | Relación de Inclusión |
|---|
| 1221 | \layout Standard |
|---|
| 1222 | |
|---|
| 1223 | Se define la siguiente relación binaria de inclusión entre instantes de |
|---|
| 1224 | tiempo como |
|---|
| 1225 | \begin_inset Formula \begin{equation} |
|---|
| 1226 | it'\subset it\Leftrightarrow startOf(it)\leqslant startOf(it')\wedge startOf(Succ(it))\geqslant startOf(Succ(it'))\end{equation} |
|---|
| 1227 | |
|---|
| 1228 | \end_inset |
|---|
| 1229 | |
|---|
| 1230 | que se lee así: un IT está incluido en otro si no comienza antes ni termina |
|---|
| 1231 | después. |
|---|
| 1232 | En la notación usada anteriormente se expresaría así |
|---|
| 1233 | \layout Standard |
|---|
| 1234 | |
|---|
| 1235 | |
|---|
| 1236 | \begin_inset Formula \begin{equation} |
|---|
| 1237 | it'=\mathcal{\mathcal{I}}\left(k',g'\right)\subset\mathcal{\mathcal{I}}\left(k,g\right)=it\Leftrightarrow k\bullet g\leq k'\bullet g'\wedge\left(k'+1\right)\bullet g'\leq\left(k+1\right)\bullet g\end{equation} |
|---|
| 1238 | |
|---|
| 1239 | \end_inset |
|---|
| 1240 | |
|---|
| 1241 | |
|---|
| 1242 | \layout Standard |
|---|
| 1243 | |
|---|
| 1244 | Por ejemplo |
|---|
| 1245 | \begin_inset Formula $y2005m1\subset y2005$ |
|---|
| 1246 | \end_inset |
|---|
| 1247 | |
|---|
| 1248 | , |
|---|
| 1249 | \begin_inset Formula $y2005m1d1h12\subset y2005m1d1$ |
|---|
| 1250 | \end_inset |
|---|
| 1251 | |
|---|
| 1252 | , |
|---|
| 1253 | \begin_inset Formula $y2005m1d1h12i6\subset y2005m1$ |
|---|
| 1254 | \end_inset |
|---|
| 1255 | |
|---|
| 1256 | . |
|---|
| 1257 | |
|---|
| 1258 | \layout Standard |
|---|
| 1259 | |
|---|
| 1260 | Obsérvese que la inclusión no está definida si interviene |
|---|
| 1261 | \begin_inset Formula $\mathcal{I}\left(?\right)$ |
|---|
| 1262 | \end_inset |
|---|
| 1263 | |
|---|
| 1264 | y que tanto |
|---|
| 1265 | \begin_inset Formula $\mathcal{I}\left(-\infty\right)$ |
|---|
| 1266 | \end_inset |
|---|
| 1267 | |
|---|
| 1268 | como |
|---|
| 1269 | \begin_inset Formula $\mathcal{I}\left(\infty\right)$ |
|---|
| 1270 | \end_inset |
|---|
| 1271 | |
|---|
| 1272 | ni incluyen ni están incluidos en ningún otro IT. |
|---|
| 1273 | \layout Standard |
|---|
| 1274 | |
|---|
| 1275 | Se define también la relación de inclusión estricta |
|---|
| 1276 | \begin_inset Formula \begin{equation} |
|---|
| 1277 | it'\subsetneq it\Leftrightarrow it'\subset it\wedge it\neq it'\end{equation} |
|---|
| 1278 | |
|---|
| 1279 | \end_inset |
|---|
| 1280 | |
|---|
| 1281 | |
|---|
| 1282 | \layout Standard |
|---|
| 1283 | |
|---|
| 1284 | Esta relación cumple las propiedades de una relación de |
|---|
| 1285 | \emph on |
|---|
| 1286 | orden parcial |
|---|
| 1287 | \emph default |
|---|
| 1288 | pero no un orden total, pues claramente no es conexa, ya que puede ocurrir |
|---|
| 1289 | que un instante temporal no esté incluido en otro ni éste en aquel. |
|---|
| 1290 | En tal caso, uno de ellos será estrictamente menor que el otro, ya que |
|---|
| 1291 | lo que no puede haber es instantes temporales solapados parcialmente, debido |
|---|
| 1292 | a la propia definición de la base de granularidades gregoriana. |
|---|
| 1293 | \layout Subsubsection |
|---|
| 1294 | |
|---|
| 1295 | Interior de un IT |
|---|
| 1296 | \layout Standard |
|---|
| 1297 | |
|---|
| 1298 | Para cada IT se puede definir la clase de todos los IT's que están incluidos |
|---|
| 1299 | en ese IT, a la que llamaremos |
|---|
| 1300 | \series bold |
|---|
| 1301 | interior de un IT |
|---|
| 1302 | \layout Standard |
|---|
| 1303 | |
|---|
| 1304 | |
|---|
| 1305 | \begin_inset Formula \begin{equation} |
|---|
| 1306 | Inside\left(it\right)=\left\{ it'\in\mathfrak{C}_{6}\left|it'\subset it\right.\right\} \label{eq:inside}\end{equation} |
|---|
| 1307 | |
|---|
| 1308 | \end_inset |
|---|
| 1309 | |
|---|
| 1310 | |
|---|
| 1311 | \layout Standard |
|---|
| 1312 | |
|---|
| 1313 | Por ejemplo |
|---|
| 1314 | \begin_inset Formula \[ |
|---|
| 1315 | Inside\left(y2005m1d1h12i6\right)=\left\{ y2005m1d1h5i6,\, y2005m1d1h5i6s0,\,...,\, y2005m1d1h5i6s59\right\} \] |
|---|
| 1316 | |
|---|
| 1317 | \end_inset |
|---|
| 1318 | |
|---|
| 1319 | |
|---|
| 1320 | \layout Standard |
|---|
| 1321 | |
|---|
| 1322 | Obviamente, el interior de un IT contiene el interior de cada uno de sus |
|---|
| 1323 | elementos y por lo tanto los elementos del interior de un IT tienen todas |
|---|
| 1324 | las granularidades menos gruesas que la de ese IT, excepto él mismo, claro |
|---|
| 1325 | está, que tiene la granularidad más gruesa de todos. |
|---|
| 1326 | \begin_inset Formula \begin{equation} |
|---|
| 1327 | \begin{array}{c} |
|---|
| 1328 | \mathcal{\mathcal{I}}\left(k',g'\right)\in Inside\left(\mathcal{\mathcal{I}}\left(k,g\right)\right)\Rightarrow Inside\left(\mathcal{\mathcal{I}}\left(k',g'\right)\right)\subset Inside\left(\mathcal{\mathcal{I}}\left(k,g\right)\right)\\ |
|---|
| 1329 | \mathcal{\mathcal{I}}\left(k',g'\right)\in Inside\left(\mathcal{\mathcal{I}}\left(k,g\right)\right)-\left\{ \mathcal{\mathcal{I}}\left(k,g\right)\right\} \Rightarrow g'<g\\ |
|---|
| 1330 | g'\leq g\Rightarrow\exists\mathcal{\mathcal{I}}\left(k',g'\right)\in Inside\left(\mathcal{\mathcal{I}}\left(k,g\right)\right)\end{array}\end{equation} |
|---|
| 1331 | |
|---|
| 1332 | \end_inset |
|---|
| 1333 | |
|---|
| 1334 | |
|---|
| 1335 | \layout Standard |
|---|
| 1336 | |
|---|
| 1337 | Como corolario se puede extraer que el interior de un IT tiene al menos |
|---|
| 1338 | un elemento de granularidad secundal. |
|---|
| 1339 | \layout Subsubsection |
|---|
| 1340 | |
|---|
| 1341 | Contenedores de un IT |
|---|
| 1342 | \layout Standard |
|---|
| 1343 | |
|---|
| 1344 | Para cada IT |
|---|
| 1345 | \begin_inset Formula $\mathcal{I}\left(k,h\right)$ |
|---|
| 1346 | \end_inset |
|---|
| 1347 | |
|---|
| 1348 | de granularidad |
|---|
| 1349 | \begin_inset Formula $h<g$ |
|---|
| 1350 | \end_inset |
|---|
| 1351 | |
|---|
| 1352 | existe un único IT de granularidad |
|---|
| 1353 | \begin_inset Formula $g$ |
|---|
| 1354 | \end_inset |
|---|
| 1355 | |
|---|
| 1356 | que lo incluye, pongamos |
|---|
| 1357 | \begin_inset Formula $\mathcal{I}\left(l,g\right)$ |
|---|
| 1358 | \end_inset |
|---|
| 1359 | |
|---|
| 1360 | , al que llamaremos |
|---|
| 1361 | \emph on |
|---|
| 1362 | contenedor de |
|---|
| 1363 | \emph default |
|---|
| 1364 | |
|---|
| 1365 | \begin_inset Formula $\mathcal{I}\left(k,h\right)$ |
|---|
| 1366 | \end_inset |
|---|
| 1367 | |
|---|
| 1368 | |
|---|
| 1369 | \emph on |
|---|
| 1370 | en la granularidad |
|---|
| 1371 | \emph default |
|---|
| 1372 | |
|---|
| 1373 | \begin_inset Formula $g>h$ |
|---|
| 1374 | \end_inset |
|---|
| 1375 | |
|---|
| 1376 | y se escribirá |
|---|
| 1377 | \layout Standard |
|---|
| 1378 | |
|---|
| 1379 | |
|---|
| 1380 | \begin_inset Formula \begin{equation} |
|---|
| 1381 | \mathcal{I}\left(l,g\right)=g^{-1}\mathcal{I}\left(k,h\right)\Leftrightarrow\mathcal{I}\left(k,h\right)\subset\mathcal{I}\left(l,g\right)\Leftrightarrow k\in\left[a,b\right]\cap\mathbb{Z}\;\forall h<g\label{eq:container}\end{equation} |
|---|
| 1382 | |
|---|
| 1383 | \end_inset |
|---|
| 1384 | |
|---|
| 1385 | donde a los valores límite |
|---|
| 1386 | \begin_inset Formula $a$ |
|---|
| 1387 | \end_inset |
|---|
| 1388 | |
|---|
| 1389 | y |
|---|
| 1390 | \begin_inset Formula $b$ |
|---|
| 1391 | \end_inset |
|---|
| 1392 | |
|---|
| 1393 | de la expresión anterior les llamaremos |
|---|
| 1394 | \emph on |
|---|
| 1395 | límites superior e inferior de |
|---|
| 1396 | \emph default |
|---|
| 1397 | |
|---|
| 1398 | \begin_inset Formula $\mathcal{I}\left(l,g\right)$ |
|---|
| 1399 | \end_inset |
|---|
| 1400 | |
|---|
| 1401 | |
|---|
| 1402 | \emph on |
|---|
| 1403 | en la granularidad |
|---|
| 1404 | \emph default |
|---|
| 1405 | |
|---|
| 1406 | \begin_inset Formula $h<g$ |
|---|
| 1407 | \end_inset |
|---|
| 1408 | |
|---|
| 1409 | . |
|---|
| 1410 | Según se puede ver en la ecuación |
|---|
| 1411 | \begin_inset LatexCommand \vref{eq:GraQuo} |
|---|
| 1412 | |
|---|
| 1413 | \end_inset |
|---|
| 1414 | |
|---|
| 1415 | se pueden calcular mediante inversiones granulares de los puntos inicial |
|---|
| 1416 | y final de |
|---|
| 1417 | \begin_inset Formula $\mathcal{I}\left(l,g\right)$ |
|---|
| 1418 | \end_inset |
|---|
| 1419 | |
|---|
| 1420 | |
|---|
| 1421 | \layout Standard |
|---|
| 1422 | |
|---|
| 1423 | |
|---|
| 1424 | \begin_inset Formula \begin{equation} |
|---|
| 1425 | \begin{array}{l} |
|---|
| 1426 | a=\liminf_{h}\left(\mathcal{I}\left(l,g\right)\right)=h^{-1}\left(l\bullet g\right)\\ |
|---|
| 1427 | b=\limsup_{h}\left(\mathcal{I}\left(l,g\right)\right)=h^{-1}\left(\left(l+1\right)\bullet g\right)-1\end{array}\;\forall h<g\label{eq:limgra}\end{equation} |
|---|
| 1428 | |
|---|
| 1429 | \end_inset |
|---|
| 1430 | |
|---|
| 1431 | |
|---|
| 1432 | \layout Section |
|---|
| 1433 | \pagebreak_top |
|---|
| 1434 | Conjuntos Temporales |
|---|
| 1435 | \layout Standard |
|---|
| 1436 | |
|---|
| 1437 | Un |
|---|
| 1438 | \series bold |
|---|
| 1439 | conjunto temporal |
|---|
| 1440 | \series default |
|---|
| 1441 | , en adelante |
|---|
| 1442 | \series bold |
|---|
| 1443 | CT |
|---|
| 1444 | \series default |
|---|
| 1445 | , es un tipo especial de conjunto de instantes de tiempo con cierta estructura |
|---|
| 1446 | y que cumple determinadas normas que se explican a continuación. |
|---|
| 1447 | Más adelante se exponen algunas propiedades importantes así como algunas |
|---|
| 1448 | operaciones algebraicas que se pueden definir entre CT's y también otras |
|---|
| 1449 | que relacionan CT's e IT's. |
|---|
| 1450 | \layout Subsection |
|---|
| 1451 | |
|---|
| 1452 | Definición y propiedades de un CT |
|---|
| 1453 | \layout Standard |
|---|
| 1454 | |
|---|
| 1455 | Un CT es un conjunto de instantes de tiempo propios de cualquier granularidad |
|---|
| 1456 | básica que incluye el interior de cada uno de sus elementos. |
|---|
| 1457 | |
|---|
| 1458 | \layout Standard |
|---|
| 1459 | |
|---|
| 1460 | A la familia de todos los conjuntos temporales le llamaremos |
|---|
| 1461 | \begin_inset Formula $\mathcal{CT}_{6}$ |
|---|
| 1462 | \end_inset |
|---|
| 1463 | |
|---|
| 1464 | y se tendrá |
|---|
| 1465 | \layout Standard |
|---|
| 1466 | |
|---|
| 1467 | |
|---|
| 1468 | \begin_inset Formula \begin{equation} |
|---|
| 1469 | CT\in\mathcal{CT}_{6}\Leftrightarrow CT\subset\mathfrak{C}_{6}-\left\{ \mathcal{I}\left(?\right),\mathcal{I}\left(-\infty\right)\mathcal{I}\left(\infty\right)\right\} \;\wedge\; Inside\left(it\right)\subset CT\:\forall it\in CT\end{equation} |
|---|
| 1470 | |
|---|
| 1471 | \end_inset |
|---|
| 1472 | |
|---|
| 1473 | |
|---|
| 1474 | \layout Standard |
|---|
| 1475 | |
|---|
| 1476 | La cardinalidad de |
|---|
| 1477 | \begin_inset Formula $\mathcal{CT}_{6}$ |
|---|
| 1478 | \end_inset |
|---|
| 1479 | |
|---|
| 1480 | será por tanto la misma que la del conjunto |
|---|
| 1481 | \begin_inset Formula $\mathcal{P}\left(\mathfrak{C}_{6}\right)$ |
|---|
| 1482 | \end_inset |
|---|
| 1483 | |
|---|
| 1484 | de las partes de |
|---|
| 1485 | \begin_inset Formula $\mathfrak{C}_{6}$ |
|---|
| 1486 | \end_inset |
|---|
| 1487 | |
|---|
| 1488 | , es decir, la del continuo |
|---|
| 1489 | \begin_inset Formula $\infty^{\infty}$ |
|---|
| 1490 | \end_inset |
|---|
| 1491 | |
|---|
| 1492 | . |
|---|
| 1493 | \layout Subsubsection |
|---|
| 1494 | |
|---|
| 1495 | Sucesiones disjuntas de IT's |
|---|
| 1496 | \layout Standard |
|---|
| 1497 | |
|---|
| 1498 | Llamaremos |
|---|
| 1499 | \emph on |
|---|
| 1500 | sucesión disjunta de IT's |
|---|
| 1501 | \emph default |
|---|
| 1502 | a una sucesión de IT's tales que ninguno de ellos está incluido en ningún |
|---|
| 1503 | otro. |
|---|
| 1504 | Puesto que los IT's no se pueden solapar parcialmente es lo mismo que decir |
|---|
| 1505 | que todos sus elementos son disjuntos. |
|---|
| 1506 | Es decir una sucesión disjunta es de la forma |
|---|
| 1507 | \begin_inset Formula \begin{equation} |
|---|
| 1508 | S=\left\{ it_{j}\right\} _{j\in J\subset\mathbb{Z}}\bot it_{j}\subsetneq it_{j'}\forall j\neq j'\wedge j,\, j'\in J\end{equation} |
|---|
| 1509 | |
|---|
| 1510 | \end_inset |
|---|
| 1511 | |
|---|
| 1512 | |
|---|
| 1513 | \layout Standard |
|---|
| 1514 | |
|---|
| 1515 | donde |
|---|
| 1516 | \begin_inset Formula $J$ |
|---|
| 1517 | \end_inset |
|---|
| 1518 | |
|---|
| 1519 | es el conjunto de índices enteros contiguos de la sucesión que tiene efecto |
|---|
| 1520 | puramente nominal, es decir, dos sucesiones disjuntas se considerarán iguales, |
|---|
| 1521 | si y sólo si ambas tienen exactamente los mismos elementos, independientemente |
|---|
| 1522 | de que sus conjuntos de índices sean iguales, o bien sea el uno cualquier |
|---|
| 1523 | translación del otro. |
|---|
| 1524 | Al conjunto de todas las sucesiones disjuntas de IT's le llamaremos |
|---|
| 1525 | \begin_inset Formula $\mathcal{SD}_{6}$ |
|---|
| 1526 | \end_inset |
|---|
| 1527 | |
|---|
| 1528 | . |
|---|
| 1529 | \layout Standard |
|---|
| 1530 | |
|---|
| 1531 | Se define la |
|---|
| 1532 | \emph on |
|---|
| 1533 | suma |
|---|
| 1534 | \emph default |
|---|
| 1535 | |
|---|
| 1536 | \emph on |
|---|
| 1537 | disjunta de dos sucesiones disjuntas de IT's |
|---|
| 1538 | \emph default |
|---|
| 1539 | y se representará mediante el operador |
|---|
| 1540 | \begin_inset Formula $S\oplus S'$ |
|---|
| 1541 | \end_inset |
|---|
| 1542 | |
|---|
| 1543 | como la sucesión disjunta resultante de la unión de ambas sucesiones, eliminand |
|---|
| 1544 | o de cada una todos aquellos IT's que estén incluidos estrictamente en algún |
|---|
| 1545 | elemento de la otra sucesión. |
|---|
| 1546 | \begin_inset Formula \begin{equation} |
|---|
| 1547 | \begin{array}{c} |
|---|
| 1548 | S\oplus S'=\left\{ \left.it\in S\right|\nexists it'\in S'\bot it\subsetneq it'\right\} \cup\left\{ \left.it'\in S'\right|\nexists it\in S\bot it'\subsetneq it\right\} \\ |
|---|
| 1549 | S\oplus S'\in\mathcal{SD}_{6}\;\forall S,\: S'\in\mathcal{SD}_{6}\end{array}\end{equation} |
|---|
| 1550 | |
|---|
| 1551 | \end_inset |
|---|
| 1552 | |
|---|
| 1553 | |
|---|
| 1554 | \layout Standard |
|---|
| 1555 | |
|---|
| 1556 | Se define el |
|---|
| 1557 | \emph on |
|---|
| 1558 | producto disjunto de dos sucesiones disjuntas de IT's |
|---|
| 1559 | \emph default |
|---|
| 1560 | como su propia intersección y se representará mediante el operador |
|---|
| 1561 | \begin_inset Formula $S_{1}\otimes S_{2}=S_{1}\cap S_{2}$ |
|---|
| 1562 | \end_inset |
|---|
| 1563 | |
|---|
| 1564 | . |
|---|
| 1565 | Como ningún elemento de |
|---|
| 1566 | \begin_inset Formula $S_{1}$ |
|---|
| 1567 | \end_inset |
|---|
| 1568 | |
|---|
| 1569 | incluye a ningun otro de |
|---|
| 1570 | \begin_inset Formula $S_{1}$ |
|---|
| 1571 | \end_inset |
|---|
| 1572 | |
|---|
| 1573 | y ningún elemento de |
|---|
| 1574 | \begin_inset Formula $S_{2}$ |
|---|
| 1575 | \end_inset |
|---|
| 1576 | |
|---|
| 1577 | incluye a ninguno de |
|---|
| 1578 | \begin_inset Formula $S_{2}$ |
|---|
| 1579 | \end_inset |
|---|
| 1580 | |
|---|
| 1581 | , los que pertenezcan a ambos a la vez tampoco incluirán a ningún otro de |
|---|
| 1582 | la intersección. |
|---|
| 1583 | \begin_inset Formula \begin{equation} |
|---|
| 1584 | S\otimes S'=S_{1}\cap S_{2}\in\mathcal{SD}_{6}\;\forall S,\: S'\in\mathcal{SD}_{6}\end{equation} |
|---|
| 1585 | |
|---|
| 1586 | \end_inset |
|---|
| 1587 | |
|---|
| 1588 | |
|---|
| 1589 | \layout Standard |
|---|
| 1590 | |
|---|
| 1591 | Se define la |
|---|
| 1592 | \emph on |
|---|
| 1593 | diferencia |
|---|
| 1594 | \emph default |
|---|
| 1595 | |
|---|
| 1596 | \emph on |
|---|
| 1597 | disjunta de dos sucesiones disjuntas de IT's |
|---|
| 1598 | \emph default |
|---|
| 1599 | y se representará mediante el operador |
|---|
| 1600 | \begin_inset Formula $S_{1}\ominus S_{2}$ |
|---|
| 1601 | \end_inset |
|---|
| 1602 | |
|---|
| 1603 | como la sucesión disjunta de los elementos de |
|---|
| 1604 | \begin_inset Formula $S_{1}$ |
|---|
| 1605 | \end_inset |
|---|
| 1606 | |
|---|
| 1607 | que no incluyen estrictamente a ningún elemento de |
|---|
| 1608 | \begin_inset Formula $S_{2}$ |
|---|
| 1609 | \end_inset |
|---|
| 1610 | |
|---|
| 1611 | . |
|---|
| 1612 | \layout Standard |
|---|
| 1613 | |
|---|
| 1614 | |
|---|
| 1615 | \begin_inset Formula \begin{equation} |
|---|
| 1616 | S\ominus S'=\left\{ \left.it\in S\right|\nexists it'\in S'\bot it'\subsetneq it\right\} \in\mathcal{SD}_{6}\;\forall S,\: S'\in\mathcal{SD}_{6}\end{equation} |
|---|
| 1617 | |
|---|
| 1618 | \end_inset |
|---|
| 1619 | |
|---|
| 1620 | |
|---|
| 1621 | \layout Standard |
|---|
| 1622 | |
|---|
| 1623 | Llamaremos |
|---|
| 1624 | \emph on |
|---|
| 1625 | conjunto temporal generado por una sucesión disjunta |
|---|
| 1626 | \emph default |
|---|
| 1627 | a la unión de los interiores de los elementos de esa sucesión |
|---|
| 1628 | \layout Standard |
|---|
| 1629 | |
|---|
| 1630 | |
|---|
| 1631 | \begin_inset Formula \begin{equation} |
|---|
| 1632 | \underbrace{S}=\bigcup_{it\in S}Inside\left(it\right)\end{equation} |
|---|
| 1633 | |
|---|
| 1634 | \end_inset |
|---|
| 1635 | |
|---|
| 1636 | |
|---|
| 1637 | \layout Subsubsection |
|---|
| 1638 | |
|---|
| 1639 | Sucesión maximal de un CT |
|---|
| 1640 | \layout Standard |
|---|
| 1641 | |
|---|
| 1642 | Para todo elemento IT de un CT existe un elemento máximo de CT que le contiene, |
|---|
| 1643 | al que llamaremos |
|---|
| 1644 | \emph on |
|---|
| 1645 | elemento maximal de IT en CT |
|---|
| 1646 | \layout Standard |
|---|
| 1647 | |
|---|
| 1648 | |
|---|
| 1649 | \begin_inset Formula \begin{equation} |
|---|
| 1650 | Maximal\left(it,CT\right)=it'\Leftrightarrow it''\subset it'\in CT\:\forall\: it\subset it''\in CT\end{equation} |
|---|
| 1651 | |
|---|
| 1652 | \end_inset |
|---|
| 1653 | |
|---|
| 1654 | |
|---|
| 1655 | \layout Standard |
|---|
| 1656 | |
|---|
| 1657 | Se dice que un IT de un CT es un |
|---|
| 1658 | \emph on |
|---|
| 1659 | elemento maximal |
|---|
| 1660 | \emph default |
|---|
| 1661 | de ése CT si es su propio maximal en CT, es decir, si no pertenece al interior |
|---|
| 1662 | de ningún otro elemento de ese CT. |
|---|
| 1663 | A la sucesión disjunta, finita o infinita, de los elementos maximales de |
|---|
| 1664 | un CT, ordenada de menor a mayor, le llamaremos |
|---|
| 1665 | \emph on |
|---|
| 1666 | sucesión maximal |
|---|
| 1667 | \emph default |
|---|
| 1668 | de ese CT |
|---|
| 1669 | \layout Standard |
|---|
| 1670 | |
|---|
| 1671 | |
|---|
| 1672 | \begin_inset Formula \begin{equation} |
|---|
| 1673 | Maximal\left(CT\right)=\overbrace{CT}=\left\{ it_{j}\right\} _{j\in J\subset\mathbb{Z}}\wedge\left\{ \begin{array}{c} |
|---|
| 1674 | it_{j}=Maximal\left(it_{j},CT\right)\\ |
|---|
| 1675 | it_{j}<it_{j+1}\end{array}\right.\forall j,\, j+1\in J\end{equation} |
|---|
| 1676 | |
|---|
| 1677 | \end_inset |
|---|
| 1678 | |
|---|
| 1679 | |
|---|
| 1680 | \layout Standard |
|---|
| 1681 | |
|---|
| 1682 | Los interiores de dos elementos maximales distintos de un mismo CT son conjuntos |
|---|
| 1683 | disjuntos, es decir |
|---|
| 1684 | \layout Standard |
|---|
| 1685 | |
|---|
| 1686 | |
|---|
| 1687 | \begin_inset Formula \begin{equation} |
|---|
| 1688 | it\neq it'\Leftrightarrow Inside\left(it\right)\cap Inside\left(it'\right)=\emptyset\;\forall it,it'\in\overbrace{CT}\end{equation} |
|---|
| 1689 | |
|---|
| 1690 | \end_inset |
|---|
| 1691 | |
|---|
| 1692 | |
|---|
| 1693 | \layout Standard |
|---|
| 1694 | |
|---|
| 1695 | Por lo tanto, todo CT es el |
|---|
| 1696 | \emph on |
|---|
| 1697 | conjunto temporal generado por su sucesión maximal |
|---|
| 1698 | \layout Standard |
|---|
| 1699 | |
|---|
| 1700 | |
|---|
| 1701 | \begin_inset Formula \begin{equation} |
|---|
| 1702 | CT=\overbrace{\underbrace{CT}}=\bigcup_{it\in\overbrace{CT}}Inside\left(it\right)\end{equation} |
|---|
| 1703 | |
|---|
| 1704 | \end_inset |
|---|
| 1705 | |
|---|
| 1706 | |
|---|
| 1707 | \layout Standard |
|---|
| 1708 | |
|---|
| 1709 | El |
|---|
| 1710 | \series bold |
|---|
| 1711 | sucesor maximal de un IT en un CT |
|---|
| 1712 | \series default |
|---|
| 1713 | se define como el primer elemento maximal del CT que es estrictamente posterior |
|---|
| 1714 | a dicho IT. |
|---|
| 1715 | Análogamente, el |
|---|
| 1716 | \series bold |
|---|
| 1717 | predecesor maximal de un IT en un CT |
|---|
| 1718 | \series default |
|---|
| 1719 | se define como el último elemento maximal del CT que es estrictamente anterior |
|---|
| 1720 | a dicho IT. |
|---|
| 1721 | \layout Standard |
|---|
| 1722 | |
|---|
| 1723 | |
|---|
| 1724 | \begin_inset Formula \begin{equation} |
|---|
| 1725 | \begin{array}{c} |
|---|
| 1726 | it+\overbrace{CT}=it'\Leftrightarrow it'\in\overbrace{CT}\wedge it<it'\leq it''\:\forall it''\in\overbrace{CT}\\ |
|---|
| 1727 | it-\overbrace{CT}=it'\Leftrightarrow it'\in\overbrace{CT}\wedge it>it'\geq it''\:\forall it''\in\overbrace{CT}\end{array}\end{equation} |
|---|
| 1728 | |
|---|
| 1729 | \end_inset |
|---|
| 1730 | |
|---|
| 1731 | |
|---|
| 1732 | \layout Subsubsection |
|---|
| 1733 | |
|---|
| 1734 | Sucesor |
|---|
| 1735 | \series bold |
|---|
| 1736 | |
|---|
| 1737 | \series default |
|---|
| 1738 | y predecesor de un IT en un CT |
|---|
| 1739 | \layout Standard |
|---|
| 1740 | |
|---|
| 1741 | Se define el punto |
|---|
| 1742 | \emph on |
|---|
| 1743 | inmediatamente superior a un IT en un CT |
|---|
| 1744 | \emph default |
|---|
| 1745 | , o |
|---|
| 1746 | \series bold |
|---|
| 1747 | supremo de un IT en un CT |
|---|
| 1748 | \series default |
|---|
| 1749 | , como el menor valor real posterior al punto final de ese IT tal que existe |
|---|
| 1750 | algún elemento del CT cuyo punto de inicio sea ese valor. |
|---|
| 1751 | De forma análoga se define el punto |
|---|
| 1752 | \emph on |
|---|
| 1753 | inmediatamente inferior a un IT en un CT |
|---|
| 1754 | \emph default |
|---|
| 1755 | , o |
|---|
| 1756 | \series bold |
|---|
| 1757 | ínfimo de un IT en un CT |
|---|
| 1758 | \series default |
|---|
| 1759 | , como el mayor valor real estrictamente menor que el punto inicial de ese |
|---|
| 1760 | IT tal que existe algún elemento del CT cuyo punto final sea ese valor. |
|---|
| 1761 | \layout Standard |
|---|
| 1762 | |
|---|
| 1763 | |
|---|
| 1764 | \begin_inset Formula \begin{equation} |
|---|
| 1765 | \begin{array}{l} |
|---|
| 1766 | \sup\left(\mathcal{I}\left(k,g\right),CT\right)=\min\left\{ \left.t\in\mathbb{R}\right|\exists\mathcal{I}\left(k',g'\right)\in CT\bot\left(k+1\right)\bullet g\leq t=k'\bullet g'\right\} \\ |
|---|
| 1767 | \inf\left(\mathcal{I}\left(k,g\right),CT\right)=\max\left\{ \left.t\in\mathbb{R}\right|\exists\mathcal{I}\left(k',g'\right)\in CT\bot k\bullet g>t=\left(k'+1\right)\bullet g'\right\} \end{array}\end{equation} |
|---|
| 1768 | |
|---|
| 1769 | \end_inset |
|---|
| 1770 | |
|---|
| 1771 | |
|---|
| 1772 | \layout Standard |
|---|
| 1773 | |
|---|
| 1774 | Al subconjunto de CT de los elementos cuyo origen es el supremo de un IT |
|---|
| 1775 | en ese CT se le llamará |
|---|
| 1776 | \series bold |
|---|
| 1777 | subconjunto supremo de IT en CT |
|---|
| 1778 | \series default |
|---|
| 1779 | . |
|---|
| 1780 | De forma análoga, al subconjunto de CT de los elementos cuyo origen es |
|---|
| 1781 | el ínfimo de un IT en ese CT se le llamará |
|---|
| 1782 | \series bold |
|---|
| 1783 | subconjunto ínfimo de IT en CT |
|---|
| 1784 | \series default |
|---|
| 1785 | . |
|---|
| 1786 | |
|---|
| 1787 | \layout Standard |
|---|
| 1788 | |
|---|
| 1789 | |
|---|
| 1790 | \begin_inset Formula \begin{equation} |
|---|
| 1791 | \begin{array}{c} |
|---|
| 1792 | cSup\left(\mathcal{I}\left(k,g\right),CT\right)=\left\{ \left.\mathcal{I}\left(k',g'\right)\in CT\right|k'\bullet g'=\sup\left(\mathcal{I}\left(k,g\right),CT\right)\right\} \\ |
|---|
| 1793 | cInf\left(\mathcal{I}\left(k,g\right),CT\right)=\left\{ \left.\mathcal{I}\left(k',g'\right)\in CT\right|k'\bullet g'=\inf\left(\mathcal{I}\left(k,g\right),CT\right)\right\} \end{array}\end{equation} |
|---|
| 1794 | |
|---|
| 1795 | \end_inset |
|---|
| 1796 | |
|---|
| 1797 | |
|---|
| 1798 | \layout Standard |
|---|
| 1799 | |
|---|
| 1800 | El subconjunto supremo de un IT en un CT es el interior del sucesor maximal |
|---|
| 1801 | de IT en CT. |
|---|
| 1802 | Del mismo modo, el subconjunto ínfimo de un IT en un CT es el interior |
|---|
| 1803 | del predecesor maximal de IT en CT. |
|---|
| 1804 | \layout Standard |
|---|
| 1805 | |
|---|
| 1806 | |
|---|
| 1807 | \begin_inset Formula \begin{equation} |
|---|
| 1808 | \begin{array}{c} |
|---|
| 1809 | cSup\left(\mathcal{I}\left(k,g\right),CT\right)=Inside\left(\mathcal{I}\left(k,g\right)+\overbrace{CT}\right)\\ |
|---|
| 1810 | cInf\left(\mathcal{I}\left(k,g\right),CT\right)=Inside\left(\mathcal{I}\left(k,g\right)-\overbrace{CT}\right)\end{array}\end{equation} |
|---|
| 1811 | |
|---|
| 1812 | \end_inset |
|---|
| 1813 | |
|---|
| 1814 | |
|---|
| 1815 | \layout Standard |
|---|
| 1816 | |
|---|
| 1817 | El |
|---|
| 1818 | \series bold |
|---|
| 1819 | sucesor de un IT en un CT |
|---|
| 1820 | \series default |
|---|
| 1821 | se define como el elemento del subconjunto supremo de IT en CT que tiene |
|---|
| 1822 | la máxima granularidad no superior a la del propio IT. |
|---|
| 1823 | El |
|---|
| 1824 | \series bold |
|---|
| 1825 | predecesor de un IT en un CT |
|---|
| 1826 | \series default |
|---|
| 1827 | se define como el elemento del subconjunto ínfimo de IT en CT que tiene |
|---|
| 1828 | máxima granularidad no superior a la del propio IT. |
|---|
| 1829 | \layout Standard |
|---|
| 1830 | |
|---|
| 1831 | |
|---|
| 1832 | \begin_inset Formula \begin{equation} |
|---|
| 1833 | \begin{array}{c} |
|---|
| 1834 | \mathcal{I}\left(k,g\right)+CT=\mathcal{I}\left(k',g'\right)\Leftrightarrow\mathcal{I}\left(k',g'\right)\in X=cSup\left(\mathcal{I}\left(k,g\right),CT\right)\wedge g''<g'\leq g\forall\mathcal{I}\left(k'',g''\right)\in X\\ |
|---|
| 1835 | \mathcal{I}\left(k,g\right)-CT=\mathcal{I}\left(k',g'\right)\Leftrightarrow\mathcal{I}\left(k',g'\right)\in Y=cInf\left(\mathcal{I}\left(k,g\right),CT\right)\wedge g''<g'\leq g\forall\mathcal{I}\left(k'',g''\right)\in Y\end{array}\end{equation} |
|---|
| 1836 | |
|---|
| 1837 | \end_inset |
|---|
| 1838 | |
|---|
| 1839 | |
|---|
| 1840 | \layout Standard |
|---|
| 1841 | |
|---|
| 1842 | Tanto el sucesor como el predecesor de un IT en un CT, si existen, entonces |
|---|
| 1843 | son únicos por su propia definición, ya que no puede haber dos IT's distintos |
|---|
| 1844 | con la misma granularidad y el mismo origen en el supremo, ni tampoco con |
|---|
| 1845 | el mismo final en el ínfimo. |
|---|
| 1846 | \layout Subsubsection |
|---|
| 1847 | |
|---|
| 1848 | Sucesor |
|---|
| 1849 | \series bold |
|---|
| 1850 | |
|---|
| 1851 | \begin_inset Formula $n$ |
|---|
| 1852 | \end_inset |
|---|
| 1853 | |
|---|
| 1854 | -ésimo |
|---|
| 1855 | \series default |
|---|
| 1856 | de un IT en un CT |
|---|
| 1857 | \layout Standard |
|---|
| 1858 | |
|---|
| 1859 | Se puede extender recursivamente la definición de |
|---|
| 1860 | \series bold |
|---|
| 1861 | sucesor |
|---|
| 1862 | \begin_inset Formula $n$ |
|---|
| 1863 | \end_inset |
|---|
| 1864 | |
|---|
| 1865 | -ésimo de un IT en un CT |
|---|
| 1866 | \series default |
|---|
| 1867 | del siguiente modo |
|---|
| 1868 | \begin_inset Formula \begin{equation} |
|---|
| 1869 | \begin{array}{c} |
|---|
| 1870 | it+n\times CT=\left(it+\left(n-1\right)\times CT\right)+CT\;\forall n\in\mathbb{Z}^{+}\\ |
|---|
| 1871 | it-n\times CT=\left(it-\left(n-1\right)\times CT\right)-CT\;\forall n\in\mathbb{Z}^{+}\end{array}\end{equation} |
|---|
| 1872 | |
|---|
| 1873 | \end_inset |
|---|
| 1874 | |
|---|
| 1875 | |
|---|
| 1876 | \layout Standard |
|---|
| 1877 | |
|---|
| 1878 | El caso de |
|---|
| 1879 | \begin_inset Formula $n=0$ |
|---|
| 1880 | \end_inset |
|---|
| 1881 | |
|---|
| 1882 | es realmente singular pues para que exista |
|---|
| 1883 | \begin_inset Formula $it+0\times CT=it-0\times CT$ |
|---|
| 1884 | \end_inset |
|---|
| 1885 | |
|---|
| 1886 | es necesario que se igualen las dos reglas de recursión anteriores |
|---|
| 1887 | \layout Standard |
|---|
| 1888 | |
|---|
| 1889 | |
|---|
| 1890 | \begin_inset Formula \begin{equation} |
|---|
| 1891 | \begin{array}{c} |
|---|
| 1892 | it+0\times CT=\left(it-CT\right)+CT\\ |
|---|
| 1893 | it-0\times CT=\left(it+CT\right)-CT\end{array}\end{equation} |
|---|
| 1894 | |
|---|
| 1895 | \end_inset |
|---|
| 1896 | |
|---|
| 1897 | |
|---|
| 1898 | \layout Standard |
|---|
| 1899 | |
|---|
| 1900 | Si |
|---|
| 1901 | \begin_inset Formula $it\in CT$ |
|---|
| 1902 | \end_inset |
|---|
| 1903 | |
|---|
| 1904 | entonces está claro que |
|---|
| 1905 | \begin_inset Formula $\left(it-CT\right)+CT=it=\left(it+CT\right)-CT$ |
|---|
| 1906 | \end_inset |
|---|
| 1907 | |
|---|
| 1908 | pero si |
|---|
| 1909 | \begin_inset Formula $it\notin CT$ |
|---|
| 1910 | \end_inset |
|---|
| 1911 | |
|---|
| 1912 | entonces el sucesor en |
|---|
| 1913 | \begin_inset Formula $CT$ |
|---|
| 1914 | \end_inset |
|---|
| 1915 | |
|---|
| 1916 | del predecesor de |
|---|
| 1917 | \begin_inset Formula $it$ |
|---|
| 1918 | \end_inset |
|---|
| 1919 | |
|---|
| 1920 | en |
|---|
| 1921 | \begin_inset Formula $CT$ |
|---|
| 1922 | \end_inset |
|---|
| 1923 | |
|---|
| 1924 | es el mismo que el sucesor de |
|---|
| 1925 | \begin_inset Formula $it$ |
|---|
| 1926 | \end_inset |
|---|
| 1927 | |
|---|
| 1928 | en |
|---|
| 1929 | \begin_inset Formula $CT$ |
|---|
| 1930 | \end_inset |
|---|
| 1931 | |
|---|
| 1932 | , ya que no puede existir ningún elemento de |
|---|
| 1933 | \begin_inset Formula $CT$ |
|---|
| 1934 | \end_inset |
|---|
| 1935 | |
|---|
| 1936 | entre ambos y por tanto |
|---|
| 1937 | \layout Standard |
|---|
| 1938 | |
|---|
| 1939 | |
|---|
| 1940 | \begin_inset Formula \begin{equation} |
|---|
| 1941 | \begin{array}{c} |
|---|
| 1942 | \left(it+CT\right)=\left(it-CT\right)+CT\\ |
|---|
| 1943 | \left(it+CT\right)-CT<\left(it-CT\right)+CT\end{array}\end{equation} |
|---|
| 1944 | |
|---|
| 1945 | \end_inset |
|---|
| 1946 | |
|---|
| 1947 | |
|---|
| 1948 | \layout Standard |
|---|
| 1949 | |
|---|
| 1950 | Así pues no se puede definir |
|---|
| 1951 | \begin_inset Formula $it+0\times CT$ |
|---|
| 1952 | \end_inset |
|---|
| 1953 | |
|---|
| 1954 | por lo que se ha de devolver |
|---|
| 1955 | \begin_inset Formula $\mathcal{I}\left(?\right)$ |
|---|
| 1956 | \end_inset |
|---|
| 1957 | |
|---|
| 1958 | . |
|---|
| 1959 | Es decir |
|---|
| 1960 | \layout Standard |
|---|
| 1961 | |
|---|
| 1962 | |
|---|
| 1963 | \begin_inset Formula \begin{equation} |
|---|
| 1964 | it+0\times CT=\left\{ \begin{array}{cc} |
|---|
| 1965 | it & si\: it\in CT\\ |
|---|
| 1966 | \mathcal{I}\left(?\right) & si\: it\notin CT\end{array}\right.\end{equation} |
|---|
| 1967 | |
|---|
| 1968 | \end_inset |
|---|
| 1969 | |
|---|
| 1970 | |
|---|
| 1971 | \layout Subsubsection |
|---|
| 1972 | |
|---|
| 1973 | Granularidad de un CT |
|---|
| 1974 | \layout Standard |
|---|
| 1975 | |
|---|
| 1976 | Cada elemento de un CT puede tener una granularidad distinta y todo CT tiene |
|---|
| 1977 | al menos un IT de granularidad secundal. |
|---|
| 1978 | Sin embargo nada le obliga a tener elementos de granularidad mayor que |
|---|
| 1979 | una dada. |
|---|
| 1980 | La granularidad de los elementos maximales de un CT conforman la sucesión |
|---|
| 1981 | de granularidades máximas que pueden tener sus elementos en cada intervalo |
|---|
| 1982 | de la recta real definido por cada IT maximal. |
|---|
| 1983 | Llamaremos |
|---|
| 1984 | \emph on |
|---|
| 1985 | granularidad minimax de un CT |
|---|
| 1986 | \emph default |
|---|
| 1987 | o simplemente |
|---|
| 1988 | \emph on |
|---|
| 1989 | granularidad de un CT |
|---|
| 1990 | \emph default |
|---|
| 1991 | a la menos gruesa de las granularidades de sus elementos maximales. |
|---|
| 1992 | \begin_inset Formula \begin{equation} |
|---|
| 1993 | granul\left(CT\right)=\min_{it\in\overbrace{CT}}\left\{ granul\left(it\right)\right\} \end{equation} |
|---|
| 1994 | |
|---|
| 1995 | \end_inset |
|---|
| 1996 | |
|---|
| 1997 | |
|---|
| 1998 | \layout Standard |
|---|
| 1999 | |
|---|
| 2000 | En determinadas circunstancias, cuando se calcula el sucesor de un IT en |
|---|
| 2001 | un conjunto, el conocer su granularidad puede ayudar a ahorrar trabajo |
|---|
| 2002 | en la búsqueda dentro del subconjunto supremo de ese IT en el CT. |
|---|
| 2003 | La información es particularmente útil en conjuntos temporales |
|---|
| 2004 | \begin_inset Formula $Ct$ |
|---|
| 2005 | \end_inset |
|---|
| 2006 | |
|---|
| 2007 | un conjunto de granularidad |
|---|
| 2008 | \begin_inset Formula $g$ |
|---|
| 2009 | \end_inset |
|---|
| 2010 | |
|---|
| 2011 | fija para todos sus maximales. |
|---|
| 2012 | En tal caso, para cada IT de granularidad |
|---|
| 2013 | \begin_inset Formula $h<g$ |
|---|
| 2014 | \end_inset |
|---|
| 2015 | |
|---|
| 2016 | se puede calcular el contenedor de |
|---|
| 2017 | \begin_inset Formula $\mathcal{I}\left(k,h\right)$ |
|---|
| 2018 | \end_inset |
|---|
| 2019 | |
|---|
| 2020 | de granularidad |
|---|
| 2021 | \begin_inset Formula $g$ |
|---|
| 2022 | \end_inset |
|---|
| 2023 | |
|---|
| 2024 | , así como los límites inferior y superior de dicho contenedor, según se |
|---|
| 2025 | vio en las ecuaciones |
|---|
| 2026 | \begin_inset LatexCommand \ref{eq:container} |
|---|
| 2027 | |
|---|
| 2028 | \end_inset |
|---|
| 2029 | |
|---|
| 2030 | y |
|---|
| 2031 | \begin_inset LatexCommand \vref{eq:limgra} |
|---|
| 2032 | |
|---|
| 2033 | \end_inset |
|---|
| 2034 | |
|---|
| 2035 | y que se escriben aquí como funciones de |
|---|
| 2036 | \begin_inset Formula $\left(k,h,g\right)$ |
|---|
| 2037 | \end_inset |
|---|
| 2038 | |
|---|
| 2039 | |
|---|
| 2040 | \layout Standard |
|---|
| 2041 | |
|---|
| 2042 | |
|---|
| 2043 | \begin_inset Formula \begin{equation} |
|---|
| 2044 | \begin{array}{c} |
|---|
| 2045 | \mathcal{I}\left(l,g\right)=g^{-1}\mathcal{I}\left(k,h\right)\\ |
|---|
| 2046 | a\left(k,h,g\right)=\liminf_{h}\left(\mathcal{I}\left(l,g\right)\right)=h^{-1}\left(l\bullet g\right)\\ |
|---|
| 2047 | b\left(k,h,g\right)=\limsup_{h}\left(\mathcal{I}\left(l,g\right)\right)=h^{-1}\left(\left(l+1\right)\bullet g\right)-1\end{array}\end{equation} |
|---|
| 2048 | |
|---|
| 2049 | \end_inset |
|---|
| 2050 | |
|---|
| 2051 | |
|---|
| 2052 | \layout Standard |
|---|
| 2053 | |
|---|
| 2054 | Si |
|---|
| 2055 | \begin_inset Formula $\mathcal{I}\left(k,h\right)\notin Ct$ |
|---|
| 2056 | \end_inset |
|---|
| 2057 | |
|---|
| 2058 | entonces ningún elemento de granularidad |
|---|
| 2059 | \begin_inset Formula $h$ |
|---|
| 2060 | \end_inset |
|---|
| 2061 | |
|---|
| 2062 | incluido en su contenedor de granularidad |
|---|
| 2063 | \begin_inset Formula $g$ |
|---|
| 2064 | \end_inset |
|---|
| 2065 | |
|---|
| 2066 | puede pertenecer a |
|---|
| 2067 | \begin_inset Formula $Ct$ |
|---|
| 2068 | \end_inset |
|---|
| 2069 | |
|---|
| 2070 | ; y si |
|---|
| 2071 | \begin_inset Formula $\mathcal{I}\left(k,h\right)\in Ct$ |
|---|
| 2072 | \end_inset |
|---|
| 2073 | |
|---|
| 2074 | entonces todos los elementos de granularidad |
|---|
| 2075 | \begin_inset Formula $h$ |
|---|
| 2076 | \end_inset |
|---|
| 2077 | |
|---|
| 2078 | incluidos en su contenedor de granularidad |
|---|
| 2079 | \begin_inset Formula $g$ |
|---|
| 2080 | \end_inset |
|---|
| 2081 | |
|---|
| 2082 | pertenecen a |
|---|
| 2083 | \begin_inset Formula $Ct$ |
|---|
| 2084 | \end_inset |
|---|
| 2085 | |
|---|
| 2086 | : |
|---|
| 2087 | \begin_inset Formula \begin{equation} |
|---|
| 2088 | \mathcal{I}\left(j,h\right)\in Ct\:\forall a\left(k,h,g\right)\leq j\leq b\left(k,h,g\right)\Leftrightarrow\mathcal{I}\left(k,h\right)\in Ct\end{equation} |
|---|
| 2089 | |
|---|
| 2090 | \end_inset |
|---|
| 2091 | |
|---|
| 2092 | |
|---|
| 2093 | \layout Standard |
|---|
| 2094 | |
|---|
| 2095 | Por un lado, si |
|---|
| 2096 | \begin_inset Formula $\mathcal{I}\left(k,h\right)\in Ct$ |
|---|
| 2097 | \end_inset |
|---|
| 2098 | |
|---|
| 2099 | tenemos un método que reduce drásticamente el coste computacional del sucesor |
|---|
| 2100 | |
|---|
| 2101 | \begin_inset Formula $n$ |
|---|
| 2102 | \end_inset |
|---|
| 2103 | |
|---|
| 2104 | -ésimo |
|---|
| 2105 | \begin_inset Formula \begin{equation} |
|---|
| 2106 | \mathcal{I}\left(k,h\right)+n\times Ct=\mathcal{I}\left(k+n,h\right)\:\forall n=a-k,...,b-k\label{eq:nsucgratmset}\end{equation} |
|---|
| 2107 | |
|---|
| 2108 | \end_inset |
|---|
| 2109 | |
|---|
| 2110 | |
|---|
| 2111 | \layout Standard |
|---|
| 2112 | |
|---|
| 2113 | Por otro lado, si |
|---|
| 2114 | \begin_inset Formula $\mathcal{I}\left(k,h\right)\notin Ct$ |
|---|
| 2115 | \end_inset |
|---|
| 2116 | |
|---|
| 2117 | el sucesor y el predecesor simples hay que buscarlos fuera de su contenedor |
|---|
| 2118 | de granularidad |
|---|
| 2119 | \begin_inset Formula $g$ |
|---|
| 2120 | \end_inset |
|---|
| 2121 | |
|---|
| 2122 | |
|---|
| 2123 | \layout Standard |
|---|
| 2124 | |
|---|
| 2125 | |
|---|
| 2126 | \begin_inset Formula \begin{equation} |
|---|
| 2127 | \begin{array}{c} |
|---|
| 2128 | \mathcal{I}\left(k,h\right)+Ct=\mathcal{I}\left(b\left(k,h,g\right),h\right)+Ct\\ |
|---|
| 2129 | \mathcal{I}\left(k,h\right)-Ct=\mathcal{I}\left(a\left(k,h,g\right),h\right)-Ct\end{array}\label{eq:presucgraset}\end{equation} |
|---|
| 2130 | |
|---|
| 2131 | \end_inset |
|---|
| 2132 | |
|---|
| 2133 | |
|---|
| 2134 | \layout Subsubsection |
|---|
| 2135 | |
|---|
| 2136 | Fechados |
|---|
| 2137 | \layout Standard |
|---|
| 2138 | |
|---|
| 2139 | Se llamará |
|---|
| 2140 | \series bold |
|---|
| 2141 | fechado |
|---|
| 2142 | \series default |
|---|
| 2143 | a un conjunto temporal |
|---|
| 2144 | \begin_inset Formula $F\in\mathcal{CT}_{6}$ |
|---|
| 2145 | \end_inset |
|---|
| 2146 | |
|---|
| 2147 | no acotado inferior ni superiormente, es decir, que cumpla que |
|---|
| 2148 | \begin_inset Formula \begin{equation} |
|---|
| 2149 | \forall t\in\mathbb{R}\:\exists\,\mathcal{\mathcal{I}}\left(k,g\right),\mathcal{\mathcal{I}}\left(k',g'\right)\in F\bot k\bullet g<t<k'\bullet g'\end{equation} |
|---|
| 2150 | |
|---|
| 2151 | \end_inset |
|---|
| 2152 | |
|---|
| 2153 | |
|---|
| 2154 | \layout Standard |
|---|
| 2155 | |
|---|
| 2156 | Evidentemente, la sucesión maximal de un fechado no está acotada ni inferior |
|---|
| 2157 | ni superiormente. |
|---|
| 2158 | \layout Standard |
|---|
| 2159 | |
|---|
| 2160 | El sucesor |
|---|
| 2161 | \begin_inset Formula $n$ |
|---|
| 2162 | \end_inset |
|---|
| 2163 | |
|---|
| 2164 | -ésimo de un IT finito |
|---|
| 2165 | \begin_inset Formula $it\in\mathfrak{C}_{6}-\left\{ \mathcal{\mathcal{I}}\left(-\infty\right),\mathcal{\mathcal{I}}\left(\infty\right)\right\} $ |
|---|
| 2166 | \end_inset |
|---|
| 2167 | |
|---|
| 2168 | también es finito, es decir |
|---|
| 2169 | \begin_inset Formula \begin{equation} |
|---|
| 2170 | it+n\times F\notin\left\{ \mathcal{\mathcal{I}}\left(-\infty\right),\mathcal{\mathcal{I}}\left(\infty\right)\right\} \forall n\in\mathbb{Z}\end{equation} |
|---|
| 2171 | |
|---|
| 2172 | \end_inset |
|---|
| 2173 | |
|---|
| 2174 | |
|---|
| 2175 | \layout Standard |
|---|
| 2176 | |
|---|
| 2177 | Los fechados tienen una gran importancia pues son la base para la creación |
|---|
| 2178 | de series temporales en tiempo continuo, así como para la definición de |
|---|
| 2179 | algunas operaciones importantes de CT's que se verán más adelante. |
|---|
| 2180 | |
|---|
| 2181 | \layout Standard |
|---|
| 2182 | |
|---|
| 2183 | Aunque los instantes impropios |
|---|
| 2184 | \begin_inset Formula $\mathcal{I}\left(-\infty\right),\:\mathcal{I}\left(?\right),\:\mathcal{I}\left(\infty\right)$ |
|---|
| 2185 | \end_inset |
|---|
| 2186 | |
|---|
| 2187 | no pertenecen a ningún CT, a veces se obrará como si así fuera por comodidad |
|---|
| 2188 | notacional. |
|---|
| 2189 | Los instantes límite pueden pertenecer asintóticamente a un CT, y no así |
|---|
| 2190 | el instante indeterminado. |
|---|
| 2191 | En el caso de los fechados, los instantes límite |
|---|
| 2192 | \begin_inset Formula $\mathcal{I}\left(-\infty\right),\:\mathcal{I}\left(\infty\right)$ |
|---|
| 2193 | \end_inset |
|---|
| 2194 | |
|---|
| 2195 | le pertenecen asintóticamente. |
|---|
| 2196 | Se puede hablar de semifechados por la izquierda o por la derecha para |
|---|
| 2197 | aquellos CT que estén acotados sólo por la izquierda o por la derecha, |
|---|
| 2198 | respectivamente. |
|---|
| 2199 | \layout Subsubsection |
|---|
| 2200 | |
|---|
| 2201 | Distancia en un CT |
|---|
| 2202 | \layout Standard |
|---|
| 2203 | |
|---|
| 2204 | Se define la función distancia entre dos puntos reales en un CT como el |
|---|
| 2205 | número de IT's maximales de ese CT incluidos entre esos dos puntos. |
|---|
| 2206 | Es decir |
|---|
| 2207 | \begin_inset Formula \begin{equation} |
|---|
| 2208 | \left\langle t,\, t'\right\rangle _{CT}=Card\left\{ \left.\mathcal{\mathcal{I}}\left(j,g\right)\in\overbrace{CT}\right|t\leq j\bullet g<\left(j+1\right)\bullet g<t'\right\} \quad\forall t,\, t'\in\mathbb{R}\end{equation} |
|---|
| 2209 | |
|---|
| 2210 | \end_inset |
|---|
| 2211 | |
|---|
| 2212 | Se define la distancia entre dos IT's en un CT como la distancia entre sus |
|---|
| 2213 | puntos de origen en ese mismo CT. |
|---|
| 2214 | \begin_inset Formula \begin{equation} |
|---|
| 2215 | \left\langle \mathcal{\mathcal{I}}\left(k,g\right),\,\mathcal{\mathcal{I}}\left(k',g'\right)\right\rangle _{CT}=\left\langle k\bullet g,\, k'\bullet g'\right\rangle _{CT}\quad\forall k,\, k'\in\mathbb{Z}\end{equation} |
|---|
| 2216 | |
|---|
| 2217 | \end_inset |
|---|
| 2218 | |
|---|
| 2219 | |
|---|
| 2220 | \layout Subsubsection |
|---|
| 2221 | |
|---|
| 2222 | Notas para la implementación de CT's |
|---|
| 2223 | \layout Standard |
|---|
| 2224 | |
|---|
| 2225 | Un CT se puede construir de varias formas: |
|---|
| 2226 | \layout Itemize |
|---|
| 2227 | |
|---|
| 2228 | Por enumeración exhaustiva de sus elementos maximales, siempre que sea un |
|---|
| 2229 | conjunto finito. |
|---|
| 2230 | \layout Itemize |
|---|
| 2231 | |
|---|
| 2232 | Mediante una función booleana explícita de pertenencia que devuelva |
|---|
| 2233 | \emph on |
|---|
| 2234 | cierto |
|---|
| 2235 | \emph default |
|---|
| 2236 | para cada IT que sea elemento suyo y |
|---|
| 2237 | \emph on |
|---|
| 2238 | falso |
|---|
| 2239 | \emph default |
|---|
| 2240 | para el resto. |
|---|
| 2241 | \begin_inset Formula \begin{equation} |
|---|
| 2242 | Include\left(CT,it\right)=\left\{ \begin{array}{cc} |
|---|
| 2243 | 1 & si\, it\in CT\\ |
|---|
| 2244 | 0 & si\, it\notin CT\end{array}\right.\end{equation} |
|---|
| 2245 | |
|---|
| 2246 | \end_inset |
|---|
| 2247 | |
|---|
| 2248 | |
|---|
| 2249 | \layout Itemize |
|---|
| 2250 | |
|---|
| 2251 | Implícitamente, mediante un IT que le pertenezca y una regla de recursión |
|---|
| 2252 | reversible, es decir, que permita calcular cuál es el IT de ese conjunto |
|---|
| 2253 | inmediatamente superior ( |
|---|
| 2254 | \series bold |
|---|
| 2255 | sucesor |
|---|
| 2256 | \series default |
|---|
| 2257 | ) o inferior ( |
|---|
| 2258 | \series bold |
|---|
| 2259 | predecesor |
|---|
| 2260 | \series default |
|---|
| 2261 | ) a un IT cualquiera. |
|---|
| 2262 | |
|---|
| 2263 | \layout Standard |
|---|
| 2264 | |
|---|
| 2265 | Sin embargo, será indispensable implementar al menos los métodos |
|---|
| 2266 | \begin_inset Formula $Include\left(CT,it\right)$ |
|---|
| 2267 | \end_inset |
|---|
| 2268 | |
|---|
| 2269 | , |
|---|
| 2270 | \begin_inset Formula $it+CT$ |
|---|
| 2271 | \end_inset |
|---|
| 2272 | |
|---|
| 2273 | y |
|---|
| 2274 | \begin_inset Formula $it-CT$ |
|---|
| 2275 | \end_inset |
|---|
| 2276 | |
|---|
| 2277 | para cada clase de CT y cada posible granularidad de |
|---|
| 2278 | \begin_inset Formula $it$ |
|---|
| 2279 | \end_inset |
|---|
| 2280 | |
|---|
| 2281 | de la forma más eficiente que sea posible aprovechando las características |
|---|
| 2282 | propias de cada uno, ya que estos métodos se utilizarán de forma masiva |
|---|
| 2283 | en conjuntos y series temporales. |
|---|
| 2284 | Siempre que sea posible y dé mayores prestaciones, también se implementará |
|---|
| 2285 | el método extendido |
|---|
| 2286 | \begin_inset Formula $it+n\times CT$ |
|---|
| 2287 | \end_inset |
|---|
| 2288 | |
|---|
| 2289 | , ya que, aunque por defecto este método se puede definir por recursión |
|---|
| 2290 | de sucesores y predecesores, se usará tan a menudo que cualquier mejora |
|---|
| 2291 | producirá importantes ahorros en el tiempo de proceso. |
|---|
| 2292 | \layout Subsection |
|---|
| 2293 | |
|---|
| 2294 | CT finitos |
|---|
| 2295 | \layout Standard |
|---|
| 2296 | |
|---|
| 2297 | Aquí se describen algunas clases de CT's finitos construidos de forma muy |
|---|
| 2298 | sencilla a partir de IT's |
|---|
| 2299 | \layout Subsubsection |
|---|
| 2300 | |
|---|
| 2301 | CT interior de un IT: |
|---|
| 2302 | \family typewriter |
|---|
| 2303 | Inside |
|---|
| 2304 | \layout Standard |
|---|
| 2305 | |
|---|
| 2306 | Dado un IT cualquiera se define el CT interior de ese IT como ya se ha descrito |
|---|
| 2307 | en |
|---|
| 2308 | \begin_inset LatexCommand \vref{eq:inside} |
|---|
| 2309 | |
|---|
| 2310 | \end_inset |
|---|
| 2311 | |
|---|
| 2312 | |
|---|
| 2313 | \layout Standard |
|---|
| 2314 | \align center |
|---|
| 2315 | |
|---|
| 2316 | \begin_inset Formula \begin{equation} |
|---|
| 2317 | Inside\left(it\right)=\left\{ it'\in\mathfrak{C}_{6}\left|it'\subset it\right.\right\} \label{eq:inside}\end{equation} |
|---|
| 2318 | |
|---|
| 2319 | \end_inset |
|---|
| 2320 | |
|---|
| 2321 | |
|---|
| 2322 | \layout Subsubsection |
|---|
| 2323 | |
|---|
| 2324 | CT generado por una lista de ITs: |
|---|
| 2325 | \family typewriter |
|---|
| 2326 | SetOfCTimes |
|---|
| 2327 | \layout Standard |
|---|
| 2328 | |
|---|
| 2329 | Dada una lista finita cualquiera de IT's, se puede construir una sucesión |
|---|
| 2330 | disjunta ordenando previamente el conjunto y eliminando los elementos que |
|---|
| 2331 | estén incluidos en otros, construyendo así su sucesión maximal que servirá |
|---|
| 2332 | para optimizar los métodos de cálculo. |
|---|
| 2333 | A esta operación le llamaremos conjunto temporal generado por una lista |
|---|
| 2334 | finita de IT's |
|---|
| 2335 | \layout Standard |
|---|
| 2336 | \align center |
|---|
| 2337 | |
|---|
| 2338 | \begin_inset Formula \begin{equation} |
|---|
| 2339 | SetOfCTimes(\left\{ it_{j}\right\} _{j=1,...,n})\,=\,\bigcup_{j=1}^{n}Inside\left(it_{j}\right)\end{equation} |
|---|
| 2340 | |
|---|
| 2341 | \end_inset |
|---|
| 2342 | |
|---|
| 2343 | |
|---|
| 2344 | \layout Subsubsection |
|---|
| 2345 | |
|---|
| 2346 | CT intervalo entre dos IT's: |
|---|
| 2347 | \family typewriter |
|---|
| 2348 | In |
|---|
| 2349 | \layout Standard |
|---|
| 2350 | |
|---|
| 2351 | Dados dos IT's |
|---|
| 2352 | \begin_inset Formula $a$ |
|---|
| 2353 | \end_inset |
|---|
| 2354 | |
|---|
| 2355 | y |
|---|
| 2356 | \begin_inset Formula $b$ |
|---|
| 2357 | \end_inset |
|---|
| 2358 | |
|---|
| 2359 | cualesquiera se define el CT intervalo como |
|---|
| 2360 | \layout Standard |
|---|
| 2361 | \align center |
|---|
| 2362 | |
|---|
| 2363 | \begin_inset Formula \begin{equation} |
|---|
| 2364 | \left[a,b\right]=In\left(a,b\right)=\left\{ it\in\mathfrak{C}_{6}\,|\, a\leq it\leq b\right\} \end{equation} |
|---|
| 2365 | |
|---|
| 2366 | \end_inset |
|---|
| 2367 | |
|---|
| 2368 | |
|---|
| 2369 | \layout Subsection |
|---|
| 2370 | |
|---|
| 2371 | CT's constantes |
|---|
| 2372 | \layout Standard |
|---|
| 2373 | |
|---|
| 2374 | Se trata de conjuntos temporales constantes en el sentido de que se definen |
|---|
| 2375 | sin necesidad de especificar ningún parámetro. |
|---|
| 2376 | La condición de incluir los interiores de todos sus elementos se desprende |
|---|
| 2377 | de las propias definiciones de forma trivial por lo que no se demuestra |
|---|
| 2378 | en cada caso. |
|---|
| 2379 | Todas estas constantes son fechados excepto el conjunto vacío. |
|---|
| 2380 | \layout Standard |
|---|
| 2381 | |
|---|
| 2382 | En primer lugar se describen los fechados básicos completos, en el sentido |
|---|
| 2383 | de que recubren toda la recta real en las diferentes granularidades básicas. |
|---|
| 2384 | Después se tratan el conjunto vacío y el fechado básico pascual. |
|---|
| 2385 | \layout Subsubsection |
|---|
| 2386 | |
|---|
| 2387 | Fechado básico completo anual o conjunto universal |
|---|
| 2388 | \layout Standard |
|---|
| 2389 | |
|---|
| 2390 | Llamaremos conjunto universal (cAll) o fechado anual (cYearly) al conjunto |
|---|
| 2391 | de todos los IT posibles que en esta implementación será el conjunto |
|---|
| 2392 | \begin_inset Formula $\mathfrak{C}_{6}$ |
|---|
| 2393 | \end_inset |
|---|
| 2394 | |
|---|
| 2395 | |
|---|
| 2396 | \begin_inset Formula \begin{equation} |
|---|
| 2397 | it\in cAll\;\forall it\in\mathfrak{C}_{6}\end{equation} |
|---|
| 2398 | |
|---|
| 2399 | \end_inset |
|---|
| 2400 | |
|---|
| 2401 | Evidentemente todos sus maximales tienen granularidad anual y por tanto |
|---|
| 2402 | \layout Standard |
|---|
| 2403 | |
|---|
| 2404 | |
|---|
| 2405 | \begin_inset Formula \begin{equation} |
|---|
| 2406 | granul\left(cAll\right)=g_{\mathbf{y}}\end{equation} |
|---|
| 2407 | |
|---|
| 2408 | \end_inset |
|---|
| 2409 | |
|---|
| 2410 | |
|---|
| 2411 | \layout Standard |
|---|
| 2412 | |
|---|
| 2413 | El sucesor |
|---|
| 2414 | \series bold |
|---|
| 2415 | |
|---|
| 2416 | \begin_inset Formula $n$ |
|---|
| 2417 | \end_inset |
|---|
| 2418 | |
|---|
| 2419 | |
|---|
| 2420 | \series default |
|---|
| 2421 | -ésimo se calcula así: |
|---|
| 2422 | \layout Standard |
|---|
| 2423 | |
|---|
| 2424 | |
|---|
| 2425 | \begin_inset Formula \begin{equation} |
|---|
| 2426 | \mathcal{I}\left(k,g\right)+n\times cAll=\mathcal{I}\left(k,g\right)+n=\mathcal{I}\left(k+n,g\right)\forall n,\, k\in\mathbb{Z}\end{equation} |
|---|
| 2427 | |
|---|
| 2428 | \end_inset |
|---|
| 2429 | |
|---|
| 2430 | |
|---|
| 2431 | \layout Standard |
|---|
| 2432 | |
|---|
| 2433 | El conjunto universal y el fechado anual coinciden porque no se contemplan |
|---|
| 2434 | granularidades mayores que la anual. |
|---|
| 2435 | Si se considereran las granularidades correspondientes a las décadas o |
|---|
| 2436 | los siglos no sería así, pero siempre habría una granularidad máxima tal |
|---|
| 2437 | que el fechado completo correspondiente correspondería al conjunto universal. |
|---|
| 2438 | \layout Subsubsection |
|---|
| 2439 | |
|---|
| 2440 | Fechados básicos completos no universales: mensual, diario, horario, minutal |
|---|
| 2441 | y secundal |
|---|
| 2442 | \layout Standard |
|---|
| 2443 | |
|---|
| 2444 | El resto de fechados básicos completos son los siguientes: |
|---|
| 2445 | \layout Itemize |
|---|
| 2446 | |
|---|
| 2447 | Fechado mensual |
|---|
| 2448 | \series bold |
|---|
| 2449 | cMonthly: |
|---|
| 2450 | \series default |
|---|
| 2451 | el conjunto de todos los IT de granularidad mensual o menos gruesa. |
|---|
| 2452 | |
|---|
| 2453 | \begin_inset Formula \begin{equation} |
|---|
| 2454 | \mathcal{I}\left(k,g\right)\in cMonthly\Leftrightarrow g\leq g_{\mathbf{m}}\end{equation} |
|---|
| 2455 | |
|---|
| 2456 | \end_inset |
|---|
| 2457 | |
|---|
| 2458 | |
|---|
| 2459 | \layout Itemize |
|---|
| 2460 | |
|---|
| 2461 | Fechado diario |
|---|
| 2462 | \series bold |
|---|
| 2463 | cDaily: |
|---|
| 2464 | \series default |
|---|
| 2465 | el conjunto de todos los IT de granularidad diaria o menos gruesa. |
|---|
| 2466 | \begin_inset Formula \begin{equation} |
|---|
| 2467 | \mathcal{I}\left(k,g\right)\in cDaily\Leftrightarrow g\leq g_{\mathbf{d}}\end{equation} |
|---|
| 2468 | |
|---|
| 2469 | \end_inset |
|---|
| 2470 | |
|---|
| 2471 | |
|---|
| 2472 | \layout Itemize |
|---|
| 2473 | |
|---|
| 2474 | Fechado horario |
|---|
| 2475 | \series bold |
|---|
| 2476 | cHourly: |
|---|
| 2477 | \series default |
|---|
| 2478 | el conjunto de todos los IT de granularidad horaria o menos gruesa. |
|---|
| 2479 | \begin_inset Formula \begin{equation} |
|---|
| 2480 | \mathcal{I}\left(k,g\right)\in cHourly\Leftrightarrow g\leq g_{\mathbf{h}}\end{equation} |
|---|
| 2481 | |
|---|
| 2482 | \end_inset |
|---|
| 2483 | |
|---|
| 2484 | |
|---|
| 2485 | \layout Itemize |
|---|
| 2486 | |
|---|
| 2487 | Fechado minutal |
|---|
| 2488 | \series bold |
|---|
| 2489 | cMinutely: |
|---|
| 2490 | \series default |
|---|
| 2491 | el conjunto de todos los IT de granularidad minutal o menos gruesa. |
|---|
| 2492 | \begin_inset Formula \begin{equation} |
|---|
| 2493 | \mathcal{I}\left(k,g\right)\in cMinutely\Leftrightarrow g\leq g_{\mathbf{i}}\end{equation} |
|---|
| 2494 | |
|---|
| 2495 | \end_inset |
|---|
| 2496 | |
|---|
| 2497 | |
|---|
| 2498 | \layout Itemize |
|---|
| 2499 | |
|---|
| 2500 | Fechado secundal |
|---|
| 2501 | \series bold |
|---|
| 2502 | cSecondly: |
|---|
| 2503 | \series default |
|---|
| 2504 | el conjunto de todos los IT de granularidad secundal o menos gruesa |
|---|
| 2505 | \begin_inset Formula \begin{equation} |
|---|
| 2506 | \mathcal{I}\left(k,g\right)\in cSecondly\Leftrightarrow g=g_{\mathbf{s}}\end{equation} |
|---|
| 2507 | |
|---|
| 2508 | \end_inset |
|---|
| 2509 | |
|---|
| 2510 | |
|---|
| 2511 | \layout Paragraph |
|---|
| 2512 | |
|---|
| 2513 | Operaciones de sucesión de IT's |
|---|
| 2514 | \layout Standard |
|---|
| 2515 | |
|---|
| 2516 | A efectos puramente formales, no de implementación, denominamos de forma |
|---|
| 2517 | genérica |
|---|
| 2518 | \begin_inset Formula $FBC\left(g\right)$ |
|---|
| 2519 | \end_inset |
|---|
| 2520 | |
|---|
| 2521 | al fechado básico completo de granularidad |
|---|
| 2522 | \begin_inset Formula $g$ |
|---|
| 2523 | \end_inset |
|---|
| 2524 | |
|---|
| 2525 | . |
|---|
| 2526 | A continuación se describe un método de cálculo de las funciones de sucesión |
|---|
| 2527 | para el caso |
|---|
| 2528 | \begin_inset Formula $r=\mathbf{m}=2$ |
|---|
| 2529 | \end_inset |
|---|
| 2530 | |
|---|
| 2531 | , es decir, |
|---|
| 2532 | \begin_inset Formula $FBC\left(g_{\mathbf{m}}\right)=cMonthly$ |
|---|
| 2533 | \end_inset |
|---|
| 2534 | |
|---|
| 2535 | de forma que sirva de ejemplo y de aclaración, y después se extrapola al |
|---|
| 2536 | caso general. |
|---|
| 2537 | \layout Subparagraph |
|---|
| 2538 | |
|---|
| 2539 | Caso particular: |
|---|
| 2540 | \begin_inset Formula $cMonthly$ |
|---|
| 2541 | \end_inset |
|---|
| 2542 | |
|---|
| 2543 | |
|---|
| 2544 | \layout Standard |
|---|
| 2545 | |
|---|
| 2546 | El sucesor |
|---|
| 2547 | \series bold |
|---|
| 2548 | |
|---|
| 2549 | \begin_inset Formula $n$ |
|---|
| 2550 | \end_inset |
|---|
| 2551 | |
|---|
| 2552 | |
|---|
| 2553 | \series default |
|---|
| 2554 | -ésimo en cMonthly para IT's de granularidad |
|---|
| 2555 | \series bold |
|---|
| 2556 | |
|---|
| 2557 | \begin_inset Formula $h\leq g_{\mathbf{m}}$ |
|---|
| 2558 | \end_inset |
|---|
| 2559 | |
|---|
| 2560 | |
|---|
| 2561 | \series default |
|---|
| 2562 | se calcula así: |
|---|
| 2563 | \layout Standard |
|---|
| 2564 | |
|---|
| 2565 | |
|---|
| 2566 | \begin_inset Formula \begin{equation} |
|---|
| 2567 | \mathcal{I}\left(k,h\right)+n\times cMonthly=\mathcal{I}\left(k+n,h\right)\;\forall n,\, k\in\mathbb{Z}\end{equation} |
|---|
| 2568 | |
|---|
| 2569 | \end_inset |
|---|
| 2570 | |
|---|
| 2571 | |
|---|
| 2572 | \layout Standard |
|---|
| 2573 | |
|---|
| 2574 | Para CT's de granularidad anual se tienen las siguientes reglas de cálculo: |
|---|
| 2575 | \layout Standard |
|---|
| 2576 | |
|---|
| 2577 | |
|---|
| 2578 | \begin_inset Formula \begin{equation} |
|---|
| 2579 | \begin{array}{c} |
|---|
| 2580 | IT\left(y\right)+n\times cMonthly=\left(IT\left(y\right)+cMonthly\right)+\left(n-1\right)\times cMonthly\:\forall n\in\mathbb{Z}^{+}\\ |
|---|
| 2581 | IT\left(y\right)-n\times cMonthly=\left(IT\left(y\right)-cMonthly\right)-\left(n-1\right)\times cMonthly\:\forall n\in\mathbb{Z}^{+}\\ |
|---|
| 2582 | IT\left(y\right)+0\times cMonthly=I\left(?\right)\\ |
|---|
| 2583 | IT\left(y\right)+cMonthly=IT\left(y+1,1\right)=\\ |
|---|
| 2584 | IT\left(y\right)-cMonthly=IT\left(y-1,12\right)\end{array}\end{equation} |
|---|
| 2585 | |
|---|
| 2586 | \end_inset |
|---|
| 2587 | |
|---|
| 2588 | |
|---|
| 2589 | \layout Standard |
|---|
| 2590 | |
|---|
| 2591 | Si |
|---|
| 2592 | \begin_inset Formula $\mathcal{I}\left(k,g_{\mathbf{y}}\right)=IT\left(y\right)$ |
|---|
| 2593 | \end_inset |
|---|
| 2594 | |
|---|
| 2595 | , según se puede ver en la ecuación |
|---|
| 2596 | \begin_inset LatexCommand \vref{eq:limgra} |
|---|
| 2597 | |
|---|
| 2598 | \end_inset |
|---|
| 2599 | |
|---|
| 2600 | , la expresión |
|---|
| 2601 | \begin_inset Formula $\mathcal{I}\left(g_{\mathbf{m}}^{-1}\left(k\bullet g_{\mathbf{y}}\right),g_{\mathbf{m}}\right)$ |
|---|
| 2602 | \end_inset |
|---|
| 2603 | |
|---|
| 2604 | es el primer mes del año |
|---|
| 2605 | \begin_inset Formula $y$ |
|---|
| 2606 | \end_inset |
|---|
| 2607 | |
|---|
| 2608 | , y por tanto |
|---|
| 2609 | \begin_inset Formula $\mathcal{I}\left(g_{\mathbf{m}}^{-1}\left(\left(k+1\right)\bullet g_{\mathbf{y}}\right)-1,g_{\mathbf{m}}\right)$ |
|---|
| 2610 | \end_inset |
|---|
| 2611 | |
|---|
| 2612 | es el último mes del año |
|---|
| 2613 | \begin_inset Formula $y$ |
|---|
| 2614 | \end_inset |
|---|
| 2615 | |
|---|
| 2616 | . |
|---|
| 2617 | \layout Subparagraph |
|---|
| 2618 | |
|---|
| 2619 | Caso general: |
|---|
| 2620 | \begin_inset Formula $FBC\left(g\right)$ |
|---|
| 2621 | \end_inset |
|---|
| 2622 | |
|---|
| 2623 | |
|---|
| 2624 | \layout Standard |
|---|
| 2625 | |
|---|
| 2626 | El sucesor |
|---|
| 2627 | \series bold |
|---|
| 2628 | |
|---|
| 2629 | \begin_inset Formula $n$ |
|---|
| 2630 | \end_inset |
|---|
| 2631 | |
|---|
| 2632 | |
|---|
| 2633 | \series default |
|---|
| 2634 | -ésimo en |
|---|
| 2635 | \begin_inset Formula $FBC\left(g\right)$ |
|---|
| 2636 | \end_inset |
|---|
| 2637 | |
|---|
| 2638 | para IT's de granularidad |
|---|
| 2639 | \series bold |
|---|
| 2640 | |
|---|
| 2641 | \begin_inset Formula $h\leq g$ |
|---|
| 2642 | \end_inset |
|---|
| 2643 | |
|---|
| 2644 | |
|---|
| 2645 | \series default |
|---|
| 2646 | se calcula así: |
|---|
| 2647 | \layout Standard |
|---|
| 2648 | |
|---|
| 2649 | |
|---|
| 2650 | \begin_inset Formula \begin{equation} |
|---|
| 2651 | \mathcal{I}\left(k,h\right)+n\times FBC\left(g\right)=\mathcal{I}\left(k+n,h\right)\;\forall n,\, k\in\mathbb{Z}\end{equation} |
|---|
| 2652 | |
|---|
| 2653 | \end_inset |
|---|
| 2654 | |
|---|
| 2655 | |
|---|
| 2656 | \layout Standard |
|---|
| 2657 | |
|---|
| 2658 | Para IT's de granularidad |
|---|
| 2659 | \series bold |
|---|
| 2660 | |
|---|
| 2661 | \begin_inset Formula $h>g$ |
|---|
| 2662 | \end_inset |
|---|
| 2663 | |
|---|
| 2664 | |
|---|
| 2665 | \series default |
|---|
| 2666 | se calcula con las siguientes reglas: |
|---|
| 2667 | \layout Standard |
|---|
| 2668 | |
|---|
| 2669 | |
|---|
| 2670 | \begin_inset Formula \begin{equation} |
|---|
| 2671 | \begin{array}{c} |
|---|
| 2672 | \mathcal{I}\left(k,h\right)+n\times FBC\left(g\right)=\left(\mathcal{I}\left(k,h\right)+FBC\left(g\right)\right)+\left(n-1\right)\times FBC\left(g\right)\:\forall n\in\mathbb{Z}^{+}\\ |
|---|
| 2673 | \mathcal{I}\left(k,h\right)-n\times FBC\left(g\right)=\left(\mathcal{I}\left(k,h\right)-FBC\left(g\right)\right)-\left(n-1\right)\times FBC\left(g\right)\:\forall n\in\mathbb{Z}^{+}\\ |
|---|
| 2674 | \mathcal{I}\left(k,h\right)+0\times FBC\left(g\right)=I\left(?\right)\\ |
|---|
| 2675 | \mathcal{I}\left(k,h\right)+FBC\left(g\right)=\mathcal{I}\left(g^{-1}\left(\left(k+1\right)\bullet h\right),g\right)\\ |
|---|
| 2676 | \mathcal{I}\left(k,g\right)-FBC\left(g\right)=\mathcal{I}\left(g^{-1}\left(k\bullet h\right)-1,g\right)\end{array}\end{equation} |
|---|
| 2677 | |
|---|
| 2678 | \end_inset |
|---|
| 2679 | |
|---|
| 2680 | |
|---|
| 2681 | \layout Subsubsection |
|---|
| 2682 | |
|---|
| 2683 | Conjunto vacío: cEmpty |
|---|
| 2684 | \layout Standard |
|---|
| 2685 | |
|---|
| 2686 | Llamaremos cEmpty al conjunto temporal vacío, es decir, al que no contiene |
|---|
| 2687 | ningún IT propio. |
|---|
| 2688 | \begin_inset Formula \begin{equation} |
|---|
| 2689 | it\notin cEmpty\;\forall it\in\mathfrak{C}_{6}\end{equation} |
|---|
| 2690 | |
|---|
| 2691 | \end_inset |
|---|
| 2692 | |
|---|
| 2693 | |
|---|
| 2694 | \layout Standard |
|---|
| 2695 | |
|---|
| 2696 | Evidentemente no se trata de un fechado aunque tampoco se puede decir que |
|---|
| 2697 | esté acotado. |
|---|
| 2698 | Se introduce en este punto preciso porque se trata del conjunto límite |
|---|
| 2699 | de la sucesión de los fechados básicos completos cuando la granularidad |
|---|
| 2700 | tiende al continuo, y por tanto se puede decir que |
|---|
| 2701 | \layout Standard |
|---|
| 2702 | |
|---|
| 2703 | |
|---|
| 2704 | \begin_inset Formula \begin{equation} |
|---|
| 2705 | granul\left(cEmpty\right)=g_{\infty}\end{equation} |
|---|
| 2706 | |
|---|
| 2707 | \end_inset |
|---|
| 2708 | |
|---|
| 2709 | El sucesor |
|---|
| 2710 | \series bold |
|---|
| 2711 | |
|---|
| 2712 | \begin_inset Formula $n$ |
|---|
| 2713 | \end_inset |
|---|
| 2714 | |
|---|
| 2715 | |
|---|
| 2716 | \series default |
|---|
| 2717 | -ésimo se calcula así: |
|---|
| 2718 | \layout Standard |
|---|
| 2719 | |
|---|
| 2720 | |
|---|
| 2721 | \begin_inset Formula \begin{equation} |
|---|
| 2722 | \mathcal{I}\left(k,g\right)+n\times cEmpty=\left\{ \begin{array}{cc} |
|---|
| 2723 | \mathcal{I}\left(-\infty\right) & si\: n<0\\ |
|---|
| 2724 | \mathcal{I}\left(?\right) & si\: n=0\\ |
|---|
| 2725 | \mathcal{I}\left(\infty\right) & si\: n>0\end{array}\right.\forall n,\, k\in\mathbb{Z},\, g\in\mathcal{G}_{6}\end{equation} |
|---|
| 2726 | |
|---|
| 2727 | \end_inset |
|---|
| 2728 | |
|---|
| 2729 | |
|---|
| 2730 | \layout Subsubsection |
|---|
| 2731 | |
|---|
| 2732 | Fechado básico pascual: cEaster |
|---|
| 2733 | \layout Standard |
|---|
| 2734 | |
|---|
| 2735 | Llamaremos cEaster al conjunto de todos IT pertenecientes a los domingos |
|---|
| 2736 | de Pascua de cualquier año, que por estar incluidos en un día del año han |
|---|
| 2737 | de tener granularidades diaria, horaria, minutal o secundal y todos sus |
|---|
| 2738 | maximales tienen granularidad diaria, luego |
|---|
| 2739 | \layout Standard |
|---|
| 2740 | |
|---|
| 2741 | |
|---|
| 2742 | \begin_inset Formula \begin{equation} |
|---|
| 2743 | granul\left(cEaster\right)=g_{\mathbf{d}}\end{equation} |
|---|
| 2744 | |
|---|
| 2745 | \end_inset |
|---|
| 2746 | |
|---|
| 2747 | |
|---|
| 2748 | \layout Standard |
|---|
| 2749 | |
|---|
| 2750 | La definición del domingo de Pascua es relativamente sencilla: se trata |
|---|
| 2751 | del primer domingo posterior a la primera luna llena tras el equinoccio |
|---|
| 2752 | de primavera. |
|---|
| 2753 | Sin embargo los métodos con los que la iglesia calcula las efemérides astronómi |
|---|
| 2754 | cas es muy primitivo y recurre a ciertas modificaciones |
|---|
| 2755 | \emph on |
|---|
| 2756 | ad-hoc, |
|---|
| 2757 | \emph default |
|---|
| 2758 | por lo que no siempre coincide con la definición exacta. |
|---|
| 2759 | Aunque como se ha dicho en esta implementación se utiliza la librería |
|---|
| 2760 | \emph on |
|---|
| 2761 | libtai |
|---|
| 2762 | \emph default |
|---|
| 2763 | se incluye aquí el siguiente código C++ que calcula de forma sencilla el |
|---|
| 2764 | domingo de Pascua para cualquier año para que el lector observe el grado |
|---|
| 2765 | de complejidad del cálculo. |
|---|
| 2766 | \layout LyX-Code |
|---|
| 2767 | |
|---|
| 2768 | |
|---|
| 2769 | \size footnotesize |
|---|
| 2770 | \color blue |
|---|
| 2771 | void CalcEaster(int year, int& monthEaster, int& dayEaster) |
|---|
| 2772 | \layout LyX-Code |
|---|
| 2773 | |
|---|
| 2774 | |
|---|
| 2775 | \size footnotesize |
|---|
| 2776 | \color blue |
|---|
| 2777 | { |
|---|
| 2778 | \layout LyX-Code |
|---|
| 2779 | |
|---|
| 2780 | |
|---|
| 2781 | \size footnotesize |
|---|
| 2782 | \color blue |
|---|
| 2783 | long y, g, c, x, z, d, e, n; |
|---|
| 2784 | \layout LyX-Code |
|---|
| 2785 | |
|---|
| 2786 | |
|---|
| 2787 | \size footnotesize |
|---|
| 2788 | \color blue |
|---|
| 2789 | g=y%19+1; // Calcular el numero aureo |
|---|
| 2790 | \layout LyX-Code |
|---|
| 2791 | |
|---|
| 2792 | |
|---|
| 2793 | \size footnotesize |
|---|
| 2794 | \color blue |
|---|
| 2795 | c=y/1OO+1; |
|---|
| 2796 | \layout LyX-Code |
|---|
| 2797 | |
|---|
| 2798 | |
|---|
| 2799 | \size footnotesize |
|---|
| 2800 | \color blue |
|---|
| 2801 | x=3*c/4-12; |
|---|
| 2802 | \layout LyX-Code |
|---|
| 2803 | |
|---|
| 2804 | |
|---|
| 2805 | \size footnotesize |
|---|
| 2806 | \color blue |
|---|
| 2807 | z=(8*c+5)/25-5; |
|---|
| 2808 | \layout LyX-Code |
|---|
| 2809 | |
|---|
| 2810 | |
|---|
| 2811 | \size footnotesize |
|---|
| 2812 | \color blue |
|---|
| 2813 | d=5*y/4-x-10; |
|---|
| 2814 | \layout LyX-Code |
|---|
| 2815 | |
|---|
| 2816 | |
|---|
| 2817 | \size footnotesize |
|---|
| 2818 | \color blue |
|---|
| 2819 | e=(11*g+20+z-x)%30; // Calcular la epacta |
|---|
| 2820 | \layout LyX-Code |
|---|
| 2821 | |
|---|
| 2822 | |
|---|
| 2823 | \size footnotesize |
|---|
| 2824 | \color blue |
|---|
| 2825 | if (e==25&&g>11) e--; |
|---|
| 2826 | \layout LyX-Code |
|---|
| 2827 | |
|---|
| 2828 | |
|---|
| 2829 | \size footnotesize |
|---|
| 2830 | \color blue |
|---|
| 2831 | // Calcular la fecha de la luna |
|---|
| 2832 | \layout LyX-Code |
|---|
| 2833 | |
|---|
| 2834 | |
|---|
| 2835 | \size footnotesize |
|---|
| 2836 | \color blue |
|---|
| 2837 | // segun el ciclo de Meton |
|---|
| 2838 | \layout LyX-Code |
|---|
| 2839 | |
|---|
| 2840 | |
|---|
| 2841 | \size footnotesize |
|---|
| 2842 | \color blue |
|---|
| 2843 | n=44-e; |
|---|
| 2844 | \layout LyX-Code |
|---|
| 2845 | |
|---|
| 2846 | |
|---|
| 2847 | \size footnotesize |
|---|
| 2848 | \color blue |
|---|
| 2849 | if (n<21) n+=30; // Si la fecha es anterior al 21 de |
|---|
| 2850 | \layout LyX-Code |
|---|
| 2851 | |
|---|
| 2852 | |
|---|
| 2853 | \size footnotesize |
|---|
| 2854 | \color blue |
|---|
| 2855 | // marzo aumentar a abril |
|---|
| 2856 | \layout LyX-Code |
|---|
| 2857 | |
|---|
| 2858 | |
|---|
| 2859 | \size footnotesize |
|---|
| 2860 | \color blue |
|---|
| 2861 | n=n+7-(d+n)%7; |
|---|
| 2862 | \layout LyX-Code |
|---|
| 2863 | |
|---|
| 2864 | |
|---|
| 2865 | \size footnotesize |
|---|
| 2866 | \color blue |
|---|
| 2867 | if(n>31) { monthEaster = 4; dayEaster = n-31; } |
|---|
| 2868 | \layout LyX-Code |
|---|
| 2869 | |
|---|
| 2870 | |
|---|
| 2871 | \size footnotesize |
|---|
| 2872 | \color blue |
|---|
| 2873 | else { monthEaster = 3; dayEaster = n; } |
|---|
| 2874 | \layout LyX-Code |
|---|
| 2875 | |
|---|
| 2876 | |
|---|
| 2877 | \size footnotesize |
|---|
| 2878 | \color blue |
|---|
| 2879 | } |
|---|
| 2880 | \layout Standard |
|---|
| 2881 | |
|---|
| 2882 | Merced a esta función se puede determinar el IT |
|---|
| 2883 | \begin_inset Formula $easter\left(year\right)=IT(year,monthEaster,dayEaster)$ |
|---|
| 2884 | \end_inset |
|---|
| 2885 | |
|---|
| 2886 | para cualquier año: |
|---|
| 2887 | \layout Standard |
|---|
| 2888 | |
|---|
| 2889 | |
|---|
| 2890 | \begin_inset Formula \begin{equation} |
|---|
| 2891 | \mathcal{I}\left(k,g\right)\in cEaster\Leftrightarrow\mathcal{I}\left(k,g\right)\subset easter\left(year\left(k\bullet g\right)\right)\end{equation} |
|---|
| 2892 | |
|---|
| 2893 | \end_inset |
|---|
| 2894 | |
|---|
| 2895 | El sucesor |
|---|
| 2896 | \series bold |
|---|
| 2897 | |
|---|
| 2898 | \begin_inset Formula $n$ |
|---|
| 2899 | \end_inset |
|---|
| 2900 | |
|---|
| 2901 | |
|---|
| 2902 | \series default |
|---|
| 2903 | -ésimo se calcula así para |
|---|
| 2904 | \begin_inset Formula $g\geq g_{\mathbf{d}}$ |
|---|
| 2905 | \end_inset |
|---|
| 2906 | |
|---|
| 2907 | : |
|---|
| 2908 | \layout Standard |
|---|
| 2909 | |
|---|
| 2910 | |
|---|
| 2911 | \begin_inset Formula \begin{equation} |
|---|
| 2912 | \mathcal{I}\left(k,g_{\mathbf{d}}\right)+n\times cEaster=\left\{ \begin{array}{cc} |
|---|
| 2913 | easter\left(n+y\right) & si\:\mathcal{I}\left(k,g_{\mathbf{d}}\right)<easter\left(y\right)\\ |
|---|
| 2914 | easter\left(1+n+y\right) & si\:\mathcal{I}\left(k,g_{\mathbf{d}}\right)\geq easter\left(y\right)\end{array}\right.\wedge y=year\left(k\bullet g_{\mathbf{d}}\right)\end{equation} |
|---|
| 2915 | |
|---|
| 2916 | \end_inset |
|---|
| 2917 | |
|---|
| 2918 | |
|---|
| 2919 | \begin_inset Formula \begin{equation} |
|---|
| 2920 | \mathcal{I}\left(k,g\right)+n\times cEaster=\mathcal{I}\left(g_{\mathbf{d}}^{-1}\left(\left(k+1\right)\bullet g\right)-1,g\right)+n\times cEaster\;\forall n,\, k\in\mathbb{Z},\, g>g_{\mathbf{d}}\end{equation} |
|---|
| 2921 | |
|---|
| 2922 | \end_inset |
|---|
| 2923 | |
|---|
| 2924 | |
|---|
| 2925 | \layout Standard |
|---|
| 2926 | |
|---|
| 2927 | Para |
|---|
| 2928 | \begin_inset Formula $g<g_{\mathbf{d}}$ |
|---|
| 2929 | \end_inset |
|---|
| 2930 | |
|---|
| 2931 | el sucesor se calcula siguiendo el método dado en las ecuaciones |
|---|
| 2932 | \begin_inset LatexCommand \ref{eq:nsucgratmset} |
|---|
| 2933 | |
|---|
| 2934 | \end_inset |
|---|
| 2935 | |
|---|
| 2936 | y |
|---|
| 2937 | \begin_inset LatexCommand \vref{eq:presucgraset} |
|---|
| 2938 | |
|---|
| 2939 | \end_inset |
|---|
| 2940 | |
|---|
| 2941 | . |
|---|
| 2942 | \layout Subsection |
|---|
| 2943 | |
|---|
| 2944 | Funciones básicas de CT's |
|---|
| 2945 | \layout Standard |
|---|
| 2946 | |
|---|
| 2947 | Los |
|---|
| 2948 | \emph on |
|---|
| 2949 | conjuntos temporales básicos |
|---|
| 2950 | \emph default |
|---|
| 2951 | son los creados mediante funciones que devuelven conjuntos temporales a |
|---|
| 2952 | partir de un parámetro dado, a las que llamaremos |
|---|
| 2953 | \emph on |
|---|
| 2954 | funciones básicas de CT's |
|---|
| 2955 | \emph default |
|---|
| 2956 | . |
|---|
| 2957 | Al igual que ocurría con las constantes, la condición de incluir los interiores |
|---|
| 2958 | de todos sus elementos se desprende de las propias definiciones de forma |
|---|
| 2959 | trivial por lo que no se demuestra en cada caso. |
|---|
| 2960 | Todos estos conjuntos temporales básicos son fechados excepto cYear. |
|---|
| 2961 | \layout Subsubsection |
|---|
| 2962 | |
|---|
| 2963 | Función cYear(Y) |
|---|
| 2964 | \layout Standard |
|---|
| 2965 | |
|---|
| 2966 | La función cYear devuelve el conjunto temporal de todos los IT incluidos |
|---|
| 2967 | en un año dado |
|---|
| 2968 | \begin_inset Formula \begin{equation} |
|---|
| 2969 | \mathcal{I}\left(k,g\right)\in cYear\left(Y\right)\Leftrightarrow year\left(k\bullet g\right)=Y\quad\forall Y\in RG_{\mathbf{y}},\, k\in\mathbb{Z},\, g\in\mathcal{G}_{6}\end{equation} |
|---|
| 2970 | |
|---|
| 2971 | \end_inset |
|---|
| 2972 | |
|---|
| 2973 | |
|---|
| 2974 | \layout Standard |
|---|
| 2975 | |
|---|
| 2976 | Evidentemente no es un fechado y su único maximal es |
|---|
| 2977 | \begin_inset Formula $IT\left(Y\right)$ |
|---|
| 2978 | \end_inset |
|---|
| 2979 | |
|---|
| 2980 | de granularidad anual y por tanto |
|---|
| 2981 | \begin_inset Formula \begin{equation} |
|---|
| 2982 | granul\left(cYear\left(Y\right)\right)=g_{\mathbf{y}}\end{equation} |
|---|
| 2983 | |
|---|
| 2984 | \end_inset |
|---|
| 2985 | |
|---|
| 2986 | |
|---|
| 2987 | \layout Standard |
|---|
| 2988 | |
|---|
| 2989 | Si |
|---|
| 2990 | \begin_inset Formula $\mathcal{I}\left(k+n,g\right)$ |
|---|
| 2991 | \end_inset |
|---|
| 2992 | |
|---|
| 2993 | queda dentro del año |
|---|
| 2994 | \begin_inset Formula $Y$ |
|---|
| 2995 | \end_inset |
|---|
| 2996 | |
|---|
| 2997 | , entonces será el sucesor |
|---|
| 2998 | \begin_inset Formula $n$ |
|---|
| 2999 | \end_inset |
|---|
| 3000 | |
|---|
| 3001 | -ésimo de |
|---|
| 3002 | \begin_inset Formula $\mathcal{I}\left(k,g\right)$ |
|---|
| 3003 | \end_inset |
|---|
| 3004 | |
|---|
| 3005 | en |
|---|
| 3006 | \begin_inset Formula $cYear\left(Y\right)$ |
|---|
| 3007 | \end_inset |
|---|
| 3008 | |
|---|
| 3009 | . |
|---|
| 3010 | El sucesor en |
|---|
| 3011 | \begin_inset Formula $cYear\left(Y\right)$ |
|---|
| 3012 | \end_inset |
|---|
| 3013 | |
|---|
| 3014 | del último instante de ese año para cada granularidad será |
|---|
| 3015 | \begin_inset Formula $\mathcal{I}\left(\infty\right)$ |
|---|
| 3016 | \end_inset |
|---|
| 3017 | |
|---|
| 3018 | y análogamente el predecesor del primero será |
|---|
| 3019 | \begin_inset Formula $\mathcal{I}\left(-\infty\right)$ |
|---|
| 3020 | \end_inset |
|---|
| 3021 | |
|---|
| 3022 | . |
|---|
| 3023 | Todo esto expresado formalmente queda así: |
|---|
| 3024 | \begin_inset Formula \begin{equation} |
|---|
| 3025 | \mathcal{I}\left(k,g\right)+n\times cYear\left(Y\right)=\left\{ \begin{array}{cccc} |
|---|
| 3026 | \mathcal{I}\left(k+n,g\right) & si & year\left(\left(k+n\right)\bullet g\right)=Y\\ |
|---|
| 3027 | \mathcal{I}\left(?\right) & si & year\left(k\bullet g\right)\neq Y & \wedge n=0\\ |
|---|
| 3028 | \mathcal{I}\left(-\infty\right) & si & year\left(\left(k+n\right)\bullet g\right)<Y & \wedge n<0\\ |
|---|
| 3029 | \mathcal{I}\left(\infty\right) & si & year\left(\left(k+n\right)\bullet g\right)>y & \wedge n>0\end{array}\right.\forall n,\, k\in\mathbb{Z},\, g\in\mathcal{G}_{6}\end{equation} |
|---|
| 3030 | |
|---|
| 3031 | \end_inset |
|---|
| 3032 | |
|---|
| 3033 | |
|---|
| 3034 | \layout Subsubsection |
|---|
| 3035 | |
|---|
| 3036 | Fechados básicos parciales: cMonth(M), cDay(D), cHour(H), cMinute(Mi), cSecond(S |
|---|
| 3037 | ), sWeekDay(W) |
|---|
| 3038 | \layout Standard |
|---|
| 3039 | |
|---|
| 3040 | En esta sección se tratan los llamados fechados básicos parciales, en el |
|---|
| 3041 | sentido de que no recubren la recta real, y que se definen por cada valor |
|---|
| 3042 | particular que puede tomar la coordenada gregoriana correspondiente a cada |
|---|
| 3043 | granularidad desde la mensual a la secundal; añadiéndose la granularidad |
|---|
| 3044 | semanal, que no es básica propiamente hablando, pero que por su gran utilidad |
|---|
| 3045 | se tratará como si lo fuera a estos efectos. |
|---|
| 3046 | \layout Itemize |
|---|
| 3047 | |
|---|
| 3048 | La función |
|---|
| 3049 | \series bold |
|---|
| 3050 | cMonth |
|---|
| 3051 | \series default |
|---|
| 3052 | devuelve el conjunto temporal de todos los IT incluidos en un mes del año |
|---|
| 3053 | dado para cualquier año pasado, presente o futuro |
|---|
| 3054 | \begin_inset Formula \begin{equation} |
|---|
| 3055 | \mathcal{I}\left(k,g\right)\in cMonth\left(M\right)\Leftrightarrow g\leq g_{\mathbf{m}}\wedge month\left(k\bullet g\right)=M\quad\forall M\in RG_{\mathbf{m}},\, k\in\mathbb{Z},\, g\in\mathcal{G}_{6}\end{equation} |
|---|
| 3056 | |
|---|
| 3057 | \end_inset |
|---|
| 3058 | |
|---|
| 3059 | |
|---|
| 3060 | \layout Itemize |
|---|
| 3061 | |
|---|
| 3062 | La función |
|---|
| 3063 | \series bold |
|---|
| 3064 | cDay |
|---|
| 3065 | \series default |
|---|
| 3066 | devuelve el conjunto temporal de todos los IT incluidos en un día de mes |
|---|
| 3067 | dado para cualquier mes y cualquier año pasado, presente o futuro |
|---|
| 3068 | \begin_inset Formula \begin{equation} |
|---|
| 3069 | \mathcal{I}\left(k,g\right)\in cDay\left(D\right)\Leftrightarrow g\leq g_{\mathbf{d}}\wedge day\left(k\bullet g\right)=D\quad\forall D\in RG_{\mathbf{d}},\, k\in\mathbb{Z},\, g\in\mathcal{G}_{6}\end{equation} |
|---|
| 3070 | |
|---|
| 3071 | \end_inset |
|---|
| 3072 | |
|---|
| 3073 | |
|---|
| 3074 | \layout Itemize |
|---|
| 3075 | |
|---|
| 3076 | La función |
|---|
| 3077 | \series bold |
|---|
| 3078 | cHour |
|---|
| 3079 | \series default |
|---|
| 3080 | devuelve el conjunto temporal de todos los IT incluidos en una hora dada |
|---|
| 3081 | para cualquier día pasado, presente o futuro |
|---|
| 3082 | \begin_inset Formula \begin{equation} |
|---|
| 3083 | \mathcal{I}\left(k,g\right)\in cHour\left(H\right)\Leftrightarrow g\leq g_{\mathbf{h}}\wedge hour\left(k\bullet g\right)=H\quad\forall H\in RG_{\mathbf{h}},\, k\in\mathbb{Z},\, g\in\mathcal{G}_{6}\end{equation} |
|---|
| 3084 | |
|---|
| 3085 | \end_inset |
|---|
| 3086 | |
|---|
| 3087 | |
|---|
| 3088 | \layout Itemize |
|---|
| 3089 | |
|---|
| 3090 | La función |
|---|
| 3091 | \series bold |
|---|
| 3092 | cMinute |
|---|
| 3093 | \series default |
|---|
| 3094 | devuelve el conjunto temporal de todos los IT incluidos en una hora dada |
|---|
| 3095 | para cualquier hora de cualquier día pasado, presente o futuro |
|---|
| 3096 | \begin_inset Formula \begin{equation} |
|---|
| 3097 | \mathcal{I}\left(k,g\right)\in cMinute\left(Mi\right)\Leftrightarrow g\leq g_{\mathbf{i}}\wedge minute\left(k\bullet g\right)=Mi\quad\forall Mi\in RG_{\mathbf{i}},\, k\in\mathbb{Z},\, g\in\mathcal{G}_{6}\end{equation} |
|---|
| 3098 | |
|---|
| 3099 | \end_inset |
|---|
| 3100 | |
|---|
| 3101 | |
|---|
| 3102 | \layout Itemize |
|---|
| 3103 | |
|---|
| 3104 | La función |
|---|
| 3105 | \series bold |
|---|
| 3106 | cSecond |
|---|
| 3107 | \series default |
|---|
| 3108 | devuelve el conjunto temporal de todos los IT incluidos en una hora dada |
|---|
| 3109 | para cualquier hora de cualquier día pasado, presente o futuro |
|---|
| 3110 | \begin_inset Formula \begin{equation} |
|---|
| 3111 | \mathcal{I}\left(k,g\right)\in cSecond\left(S\right)\Leftrightarrow g\leq g_{\mathbf{s}}\wedge second\left(k\bullet g\right)=S\quad\forall S\in RG_{\mathbf{s}},\, k\in\mathbb{Z},\, g\in\mathcal{G}_{6}\end{equation} |
|---|
| 3112 | |
|---|
| 3113 | \end_inset |
|---|
| 3114 | |
|---|
| 3115 | |
|---|
| 3116 | \layout Itemize |
|---|
| 3117 | |
|---|
| 3118 | La función |
|---|
| 3119 | \series bold |
|---|
| 3120 | cWeekDay |
|---|
| 3121 | \series default |
|---|
| 3122 | devuelve el conjunto temporal de todos los IT incluidos en una día de la |
|---|
| 3123 | semana dado para cualquier semana pasada, presente o futura |
|---|
| 3124 | \begin_inset Formula \begin{equation} |
|---|
| 3125 | \mathcal{I}\left(k,g\right)\in cWeekDay\left(W\right)\Leftrightarrow g\leq g_{\mathbf{d}}\wedge weekDay\left(k\bullet g\right)=W\quad\forall W\in RG_{\mathbf{w}},\, k\in\mathbb{Z},\, g\in\mathcal{G}_{6}\end{equation} |
|---|
| 3126 | |
|---|
| 3127 | \end_inset |
|---|
| 3128 | |
|---|
| 3129 | |
|---|
| 3130 | \layout Paragraph |
|---|
| 3131 | |
|---|
| 3132 | Operaciones de sucesión de IT's |
|---|
| 3133 | \layout Standard |
|---|
| 3134 | |
|---|
| 3135 | A efectos puramente formales, no de implementación, denominamos de forma |
|---|
| 3136 | genérica |
|---|
| 3137 | \begin_inset Formula $FBP\left(g_{r},\: c_{r}\right)$ |
|---|
| 3138 | \end_inset |
|---|
| 3139 | |
|---|
| 3140 | al fechado básico parcial de granularidad |
|---|
| 3141 | \begin_inset Formula $g_{r}$ |
|---|
| 3142 | \end_inset |
|---|
| 3143 | |
|---|
| 3144 | y coordenada gregoriana |
|---|
| 3145 | \begin_inset Formula $c_{r}$ |
|---|
| 3146 | \end_inset |
|---|
| 3147 | |
|---|
| 3148 | . |
|---|
| 3149 | A continuación se describe un método de cálculo de las funciones de sucesión |
|---|
| 3150 | para el caso |
|---|
| 3151 | \begin_inset Formula $r=\mathbf{m}=2$ |
|---|
| 3152 | \end_inset |
|---|
| 3153 | |
|---|
| 3154 | , es decir, |
|---|
| 3155 | \begin_inset Formula $FBP\left(g_{\mathbf{m}},\: M\right)=cMonth\left(M\right)$ |
|---|
| 3156 | \end_inset |
|---|
| 3157 | |
|---|
| 3158 | de forma que sirva de ejemplo y de aclaración, y después se extrapola al |
|---|
| 3159 | caso general. |
|---|
| 3160 | \layout Subparagraph |
|---|
| 3161 | |
|---|
| 3162 | Caso particular: |
|---|
| 3163 | \begin_inset Formula $cMonth\left(M\right)$ |
|---|
| 3164 | \end_inset |
|---|
| 3165 | |
|---|
| 3166 | |
|---|
| 3167 | \layout Standard |
|---|
| 3168 | |
|---|
| 3169 | Para IT's de granularidad mensual el sucesor y el predecesor simples en |
|---|
| 3170 | |
|---|
| 3171 | \begin_inset Formula $cMonth\left(M\right)$ |
|---|
| 3172 | \end_inset |
|---|
| 3173 | |
|---|
| 3174 | se calculan de forma muy sencilla |
|---|
| 3175 | \layout Standard |
|---|
| 3176 | |
|---|
| 3177 | |
|---|
| 3178 | \begin_inset Formula \begin{equation} |
|---|
| 3179 | \begin{array}{c} |
|---|
| 3180 | IT\left(y,m\right)+cMonth\left(M\right)=\left\{ \begin{array}{cc} |
|---|
| 3181 | IT\left(y,M\right) & \forall m<M\\ |
|---|
| 3182 | IT\left(y+1,M\right) & \forall m\geq M\end{array}\right.\\ |
|---|
| 3183 | IT\left(y,m\right)-cMonth\left(M\right)=\left\{ \begin{array}{cc} |
|---|
| 3184 | IT\left(y,M\right) & \forall m>M\\ |
|---|
| 3185 | IT\left(y-1,M\right) & \forall m\leq M\end{array}\right.\end{array}=\end{equation} |
|---|
| 3186 | |
|---|
| 3187 | \end_inset |
|---|
| 3188 | |
|---|
| 3189 | |
|---|
| 3190 | \layout Standard |
|---|
| 3191 | |
|---|
| 3192 | Para CT's de granularidad anual se tiene |
|---|
| 3193 | \layout Standard |
|---|
| 3194 | |
|---|
| 3195 | |
|---|
| 3196 | \begin_inset Formula \begin{equation} |
|---|
| 3197 | \begin{array}{c} |
|---|
| 3198 | IT\left(y\right)+cMonth\left(M\right)=IT\left(y,12\right)+cMonth\left(M\right)\\ |
|---|
| 3199 | IT\left(y\right)-cMonth\left(M\right)=IT\left(y,1\right)-cMonth\left(M\right)\end{array}=\end{equation} |
|---|
| 3200 | |
|---|
| 3201 | \end_inset |
|---|
| 3202 | |
|---|
| 3203 | |
|---|
| 3204 | \layout Standard |
|---|
| 3205 | |
|---|
| 3206 | Recuérdese que para extrapolar los resultados a otras granularidades es |
|---|
| 3207 | más conveniente expresar |
|---|
| 3208 | \begin_inset Formula $IT\left(y,m\right)=\mathcal{I}\left(k,g_{\mathbf{m}}\right)$ |
|---|
| 3209 | \end_inset |
|---|
| 3210 | |
|---|
| 3211 | y |
|---|
| 3212 | \layout Standard |
|---|
| 3213 | |
|---|
| 3214 | |
|---|
| 3215 | \begin_inset Formula \begin{equation} |
|---|
| 3216 | \begin{array}{c} |
|---|
| 3217 | IT\left(y,1\right)=\mathcal{I}\left(g_{\mathbf{m}}^{-1}\left(k\bullet g_{\mathbf{y}}\right),g_{\mathbf{m}}\right)\\ |
|---|
| 3218 | IT\left(y,12\right)=\mathcal{I}\left(g_{\mathbf{m}}^{-1}\left(\left(k+1\right)\bullet g_{\mathbf{y}}\right)-1,g_{\mathbf{m}}\right)\end{array}=\end{equation} |
|---|
| 3219 | |
|---|
| 3220 | \end_inset |
|---|
| 3221 | |
|---|
| 3222 | |
|---|
| 3223 | \layout Standard |
|---|
| 3224 | |
|---|
| 3225 | Una vez internado en el propio |
|---|
| 3226 | \begin_inset Formula $cMonth\left(M\right)$ |
|---|
| 3227 | \end_inset |
|---|
| 3228 | |
|---|
| 3229 | el sucesor |
|---|
| 3230 | \begin_inset Formula $n$ |
|---|
| 3231 | \end_inset |
|---|
| 3232 | |
|---|
| 3233 | -ésimo es trivial |
|---|
| 3234 | \layout Standard |
|---|
| 3235 | |
|---|
| 3236 | |
|---|
| 3237 | \begin_inset Formula \begin{equation} |
|---|
| 3238 | IT\left(y,M\right)+n\times cMonth\left(M\right)=IT\left(y+n,M\right)\end{equation} |
|---|
| 3239 | |
|---|
| 3240 | \end_inset |
|---|
| 3241 | |
|---|
| 3242 | |
|---|
| 3243 | \layout Standard |
|---|
| 3244 | |
|---|
| 3245 | De esta forma, se dispone de un método muy rápido para el cálculo del sucesor |
|---|
| 3246 | |
|---|
| 3247 | \begin_inset Formula $n$ |
|---|
| 3248 | \end_inset |
|---|
| 3249 | |
|---|
| 3250 | -ésimo para las granularidades mensual y anual, o sea, para |
|---|
| 3251 | \begin_inset Formula $h\geq g_{\mathbf{m}}$ |
|---|
| 3252 | \end_inset |
|---|
| 3253 | |
|---|
| 3254 | : |
|---|
| 3255 | \layout Standard |
|---|
| 3256 | |
|---|
| 3257 | |
|---|
| 3258 | \begin_inset Formula \begin{equation} |
|---|
| 3259 | \begin{array}{c} |
|---|
| 3260 | \mathcal{I}\left(k,h\right)+n\times cMonth\left(M\right)=\left(\mathcal{I}\left(k,h\right)+cMonth\left(M\right)\right)+\left(n-1\right)\times cMonth\left(M\right)\\ |
|---|
| 3261 | \mathcal{I}\left(k,h\right)-n\times cMonth\left(M\right)=\left(\mathcal{I}\left(k,h\right)-cMonth\left(M\right)\right)-\left(n-1\right)\times cMonth\left(M\right)\end{array}\:\forall n\in\mathbb{Z}^{+}\end{equation} |
|---|
| 3262 | |
|---|
| 3263 | \end_inset |
|---|
| 3264 | |
|---|
| 3265 | |
|---|
| 3266 | \layout Standard |
|---|
| 3267 | |
|---|
| 3268 | ya que tanto |
|---|
| 3269 | \begin_inset Formula $\mathcal{I}\left(k,h\right)+cMonth\left(M\right)$ |
|---|
| 3270 | \end_inset |
|---|
| 3271 | |
|---|
| 3272 | como |
|---|
| 3273 | \begin_inset Formula $\mathcal{I}\left(k,h\right)-cMonth\left(M\right)$ |
|---|
| 3274 | \end_inset |
|---|
| 3275 | |
|---|
| 3276 | pertenecen siempre a |
|---|
| 3277 | \begin_inset Formula $cMonth\left(M\right)$ |
|---|
| 3278 | \end_inset |
|---|
| 3279 | |
|---|
| 3280 | para |
|---|
| 3281 | \begin_inset Formula $h\geq g_{\mathbf{m}}$ |
|---|
| 3282 | \end_inset |
|---|
| 3283 | |
|---|
| 3284 | . |
|---|
| 3285 | \layout Subparagraph |
|---|
| 3286 | |
|---|
| 3287 | Caso general: |
|---|
| 3288 | \begin_inset Formula $FBP\left(g_{r},\: c_{r}\right)$ |
|---|
| 3289 | \end_inset |
|---|
| 3290 | |
|---|
| 3291 | |
|---|
| 3292 | \layout Standard |
|---|
| 3293 | |
|---|
| 3294 | Para IT's de granularidad |
|---|
| 3295 | \begin_inset Formula $g_{r}$ |
|---|
| 3296 | \end_inset |
|---|
| 3297 | |
|---|
| 3298 | el sucesor y el predecesor simples en |
|---|
| 3299 | \begin_inset Formula $FBP\left(g_{r},\: c_{r}\right)$ |
|---|
| 3300 | \end_inset |
|---|
| 3301 | |
|---|
| 3302 | se calculan de forma muy sencilla |
|---|
| 3303 | \layout Standard |
|---|
| 3304 | |
|---|
| 3305 | |
|---|
| 3306 | \begin_inset Formula \begin{equation} |
|---|
| 3307 | \begin{array}{c} |
|---|
| 3308 | IT\left(c'_{1},\,...,\, c'_{r-1},\, c'_{r}\right)+FBP\left(g_{r},\: c_{r}\right)=\left\{ \begin{array}{cc} |
|---|
| 3309 | IT\left(c'_{1},\,...,\, c'_{r-1},\, c'_{r},c'_{r}\right) & \forall c'_{r}<c_{r}\\ |
|---|
| 3310 | IT\left(c'_{1},\,...,\, c'_{r-1}+1,\, c'_{r}\right) & \forall c'_{r}\geq c_{r}\end{array}\right.\\ |
|---|
| 3311 | IT\left(c'_{1},\,...,\, c'_{r-1},\, c'_{r}\right)-FBP\left(g_{r},\: c_{r}\right)=\left\{ \begin{array}{cc} |
|---|
| 3312 | IT\left(c'_{1},\,...,\, c'_{r-1},\, c'_{r},c'_{r}\right) & \forall c'_{r}>c_{r}\\ |
|---|
| 3313 | IT\left(c'_{1},\,...,\, c'_{r-1}-1,\, c'_{r}\right) & \forall c'_{r}\leq c_{r}\end{array}\right.\end{array}=\end{equation} |
|---|
| 3314 | |
|---|
| 3315 | \end_inset |
|---|
| 3316 | |
|---|
| 3317 | |
|---|
| 3318 | \layout Standard |
|---|
| 3319 | |
|---|
| 3320 | Para CT's de granularidad |
|---|
| 3321 | \begin_inset Formula $h>g_{r}$ |
|---|
| 3322 | \end_inset |
|---|
| 3323 | |
|---|
| 3324 | se tiene |
|---|
| 3325 | \layout Standard |
|---|
| 3326 | |
|---|
| 3327 | |
|---|
| 3328 | \begin_inset Formula \begin{equation} |
|---|
| 3329 | \begin{array}{c} |
|---|
| 3330 | \mathcal{I}\left(k,h\right)+FBP\left(g_{r},\: c_{r}\right)=\mathcal{I}\left(g_{r}^{-1}\left(\left(k+1\right)\bullet h\right)-1,g_{r}\right)+FBP\left(g_{r},\: c_{r}\right)\\ |
|---|
| 3331 | \mathcal{I}\left(k,h\right)-FBP\left(g_{r},\: c_{r}\right)=\mathcal{I}\left(g_{r}^{-1}\left(k\bullet h\right),g_{r}\right)-FBP\left(g_{r},\: c_{r}\right)\end{array}=\end{equation} |
|---|
| 3332 | |
|---|
| 3333 | \end_inset |
|---|
| 3334 | |
|---|
| 3335 | |
|---|
| 3336 | \layout Standard |
|---|
| 3337 | |
|---|
| 3338 | Si tenemos |
|---|
| 3339 | \begin_inset Formula $\mathcal{I}\left(k,g_{r}\right)\in FBP\left(g_{r},\: c_{r}\right)$ |
|---|
| 3340 | \end_inset |
|---|
| 3341 | |
|---|
| 3342 | el sucesor |
|---|
| 3343 | \begin_inset Formula $n$ |
|---|
| 3344 | \end_inset |
|---|
| 3345 | |
|---|
| 3346 | -ésimo se calcula simplemente desplazándolo su punto de inicio |
|---|
| 3347 | \begin_inset Formula $n-1$ |
|---|
| 3348 | \end_inset |
|---|
| 3349 | |
|---|
| 3350 | veces en la granularidad |
|---|
| 3351 | \begin_inset Formula $g_{r-1}$ |
|---|
| 3352 | \end_inset |
|---|
| 3353 | |
|---|
| 3354 | , que es la inmediatamente más gruesa que |
|---|
| 3355 | \begin_inset Formula $g_{r}$ |
|---|
| 3356 | \end_inset |
|---|
| 3357 | |
|---|
| 3358 | , y una vez en el propio |
|---|
| 3359 | \begin_inset Formula $FBP\left(g_{r},\: c_{r}\right)$ |
|---|
| 3360 | \end_inset |
|---|
| 3361 | |
|---|
| 3362 | , lo cual se puede expresar como |
|---|
| 3363 | \layout Standard |
|---|
| 3364 | |
|---|
| 3365 | |
|---|
| 3366 | \begin_inset Formula \begin{equation} |
|---|
| 3367 | \begin{array}{c} |
|---|
| 3368 | \mathcal{I}\left(k,g_{r}\right)+n\times FBP\left(g_{r},\: c_{r}\right)=\mathcal{I}\left(l+n-1,g_{r-1}\right)+FBP\left(g_{r},\: c_{r}\right)\\ |
|---|
| 3369 | \mathcal{I}\left(k,g_{r}\right)-n\times FBP\left(g_{r},\: c_{r}\right)=\mathcal{I}\left(l-n+1,g_{r-1}\right)-FBP\left(g_{r},\: c_{r}\right)\end{array}\:\forall n\in\mathbb{Z}^{+}\end{equation} |
|---|
| 3370 | |
|---|
| 3371 | \end_inset |
|---|
| 3372 | |
|---|
| 3373 | donde |
|---|
| 3374 | \begin_inset Formula $\mathcal{I}\left(l,g_{r-1}\right)$ |
|---|
| 3375 | \end_inset |
|---|
| 3376 | |
|---|
| 3377 | es el contenedor de |
|---|
| 3378 | \begin_inset Formula $\mathcal{I}\left(k,g_{r}\right)$ |
|---|
| 3379 | \end_inset |
|---|
| 3380 | |
|---|
| 3381 | en la granularidad |
|---|
| 3382 | \begin_inset Formula $g_{r-1}$ |
|---|
| 3383 | \end_inset |
|---|
| 3384 | |
|---|
| 3385 | , tal y como se describe en la ecuación |
|---|
| 3386 | \begin_inset LatexCommand \vref{eq:container} |
|---|
| 3387 | |
|---|
| 3388 | \end_inset |
|---|
| 3389 | |
|---|
| 3390 | . |
|---|
| 3391 | \layout Standard |
|---|
| 3392 | |
|---|
| 3393 | De esta forma, se dispone de un método muy rápido para el cálculo del sucesor |
|---|
| 3394 | |
|---|
| 3395 | \begin_inset Formula $n$ |
|---|
| 3396 | \end_inset |
|---|
| 3397 | |
|---|
| 3398 | -ésimo para las granularidades |
|---|
| 3399 | \begin_inset Formula $h\geq g_{r}$ |
|---|
| 3400 | \end_inset |
|---|
| 3401 | |
|---|
| 3402 | : |
|---|
| 3403 | \layout Standard |
|---|
| 3404 | |
|---|
| 3405 | |
|---|
| 3406 | \begin_inset Formula \begin{equation} |
|---|
| 3407 | \begin{array}{c} |
|---|
| 3408 | \mathcal{I}\left(k,h\right)+n\times FBP\left(g_{r},\: c_{r}\right)=\left(\mathcal{I}\left(k,h\right)+FBP\left(g_{r},\: c_{r}\right)\right)+\left(n-1\right)\times FBP\left(g_{r},\: c_{r}\right)\\ |
|---|
| 3409 | \mathcal{I}\left(k,h\right)-n\times FBP\left(g_{r},\: c_{r}\right)=\left(\mathcal{I}\left(k,h\right)-FBP\left(g_{r},\: c_{r}\right)\right)-\left(n-1\right)\times FBP\left(g_{r},\: c_{r}\right)\end{array}\end{equation} |
|---|
| 3410 | |
|---|
| 3411 | \end_inset |
|---|
| 3412 | |
|---|
| 3413 | |
|---|
| 3414 | \layout Standard |
|---|
| 3415 | |
|---|
| 3416 | Para |
|---|
| 3417 | \begin_inset Formula $h<g_{r}$ |
|---|
| 3418 | \end_inset |
|---|
| 3419 | |
|---|
| 3420 | el sucesor se calcula siguiendo el método dado en las ecuaciones |
|---|
| 3421 | \begin_inset LatexCommand \ref{eq:nsucgratmset} |
|---|
| 3422 | |
|---|
| 3423 | \end_inset |
|---|
| 3424 | |
|---|
| 3425 | y |
|---|
| 3426 | \begin_inset LatexCommand \vref{eq:presucgraset} |
|---|
| 3427 | |
|---|
| 3428 | \end_inset |
|---|
| 3429 | |
|---|
| 3430 | . |
|---|
| 3431 | \layout Subsection |
|---|
| 3432 | |
|---|
| 3433 | Operaciones Booleanas |
|---|
| 3434 | \layout Standard |
|---|
| 3435 | |
|---|
| 3436 | Las siguientes operaciones entre conjuntos temporales le dan a |
|---|
| 3437 | \begin_inset Formula $\mathcal{P}\left(\mathfrak{C}_{6}\right)$ |
|---|
| 3438 | \end_inset |
|---|
| 3439 | |
|---|
| 3440 | una estructura de álgebra de Boole. |
|---|
| 3441 | Con ellas y otras más que se verán más adelante se pueden construir expresiones |
|---|
| 3442 | que den forma a las secuencias temporales más complicadas que se pueden |
|---|
| 3443 | encontrar en el análisis de series temporales. |
|---|
| 3444 | \layout Subsubsection |
|---|
| 3445 | |
|---|
| 3446 | Operación Suma de CT's |
|---|
| 3447 | \layout Standard |
|---|
| 3448 | |
|---|
| 3449 | La |
|---|
| 3450 | \emph on |
|---|
| 3451 | suma maximal |
|---|
| 3452 | \emph default |
|---|
| 3453 | o simplemente suma de dos conjuntos temporales es el conjunto generado |
|---|
| 3454 | por la sucesión resultante de la unión disjunta de las sucesiones maximales |
|---|
| 3455 | de ambos |
|---|
| 3456 | \layout Standard |
|---|
| 3457 | |
|---|
| 3458 | |
|---|
| 3459 | \begin_inset Formula \begin{equation} |
|---|
| 3460 | Ct_{1}+Ct_{2}=\underbrace{\overbrace{Ct_{1}}\oplus\overbrace{Ct_{2}}}\end{equation} |
|---|
| 3461 | |
|---|
| 3462 | \end_inset |
|---|
| 3463 | |
|---|
| 3464 | |
|---|
| 3465 | \layout Standard |
|---|
| 3466 | |
|---|
| 3467 | Dicho de otra forma: el maximal de la suma de CT's es la suma disjunta de |
|---|
| 3468 | sus maximales. |
|---|
| 3469 | \layout Standard |
|---|
| 3470 | |
|---|
| 3471 | |
|---|
| 3472 | \begin_inset Formula \begin{equation} |
|---|
| 3473 | \overbrace{Ct_{1}+Ct_{2}}=\overbrace{Ct_{1}}\oplus\overbrace{Ct_{2}}\end{equation} |
|---|
| 3474 | |
|---|
| 3475 | \end_inset |
|---|
| 3476 | |
|---|
| 3477 | |
|---|
| 3478 | \layout Standard |
|---|
| 3479 | |
|---|
| 3480 | Es decir, los maximales de |
|---|
| 3481 | \begin_inset Formula $Ct_{1}+Ct_{2}$ |
|---|
| 3482 | \end_inset |
|---|
| 3483 | |
|---|
| 3484 | son los maximales de |
|---|
| 3485 | \begin_inset Formula $Ct_{1}$ |
|---|
| 3486 | \end_inset |
|---|
| 3487 | |
|---|
| 3488 | que no están incluidos en ningún maximal de |
|---|
| 3489 | \begin_inset Formula $Ct_{2}$ |
|---|
| 3490 | \end_inset |
|---|
| 3491 | |
|---|
| 3492 | y los maximales de |
|---|
| 3493 | \begin_inset Formula $Ct_{2}$ |
|---|
| 3494 | \end_inset |
|---|
| 3495 | |
|---|
| 3496 | que no están incluidos en ningún maximal de |
|---|
| 3497 | \begin_inset Formula $Ct_{1}$ |
|---|
| 3498 | \end_inset |
|---|
| 3499 | |
|---|
| 3500 | . |
|---|
| 3501 | Por lo tanto sólo se puede asegurar en términos generales que |
|---|
| 3502 | \begin_inset Formula \begin{equation} |
|---|
| 3503 | granul\left(Ct_{1}+Ct_{2}\right)\geq\min\left\{ granul\left(Ct_{1}\right),\: granul\left(Ct_{2}\right)\right\} \end{equation} |
|---|
| 3504 | |
|---|
| 3505 | \end_inset |
|---|
| 3506 | |
|---|
| 3507 | |
|---|
| 3508 | \layout Standard |
|---|
| 3509 | |
|---|
| 3510 | |
|---|
| 3511 | \series bold |
|---|
| 3512 | \noun on |
|---|
| 3513 | Proposición: |
|---|
| 3514 | \noun default |
|---|
| 3515 | |
|---|
| 3516 | \series default |
|---|
| 3517 | La suma de conjuntos temporales coincide con la unión de ambos conjuntos |
|---|
| 3518 | \layout Standard |
|---|
| 3519 | |
|---|
| 3520 | |
|---|
| 3521 | \begin_inset Formula \begin{equation} |
|---|
| 3522 | Ct_{1}+Ct_{2}=Ct_{1}\cup Ct_{2}\end{equation} |
|---|
| 3523 | |
|---|
| 3524 | \end_inset |
|---|
| 3525 | |
|---|
| 3526 | |
|---|
| 3527 | \layout Standard |
|---|
| 3528 | |
|---|
| 3529 | |
|---|
| 3530 | \series bold |
|---|
| 3531 | \noun on |
|---|
| 3532 | Demostración: |
|---|
| 3533 | \series default |
|---|
| 3534 | \noun default |
|---|
| 3535 | Los elementos de |
|---|
| 3536 | \begin_inset Formula $\underbrace{\overbrace{Ct_{1}}\oplus\overbrace{Ct_{2}}}$ |
|---|
| 3537 | \end_inset |
|---|
| 3538 | |
|---|
| 3539 | están incluidos en elementos que pertenecen a |
|---|
| 3540 | \begin_inset Formula $Ct_{1}$ |
|---|
| 3541 | \end_inset |
|---|
| 3542 | |
|---|
| 3543 | o a |
|---|
| 3544 | \begin_inset Formula $Ct_{2}$ |
|---|
| 3545 | \end_inset |
|---|
| 3546 | |
|---|
| 3547 | por lo que también pertenecen a uno u otro, y se tiene que |
|---|
| 3548 | \begin_inset Formula $\underbrace{\overbrace{Ct_{1}}\oplus\overbrace{Ct_{2}}}\subset Ct_{1}\cup Ct_{2}$ |
|---|
| 3549 | \end_inset |
|---|
| 3550 | |
|---|
| 3551 | . |
|---|
| 3552 | Si |
|---|
| 3553 | \begin_inset Formula $it\in Ct_{1}$ |
|---|
| 3554 | \end_inset |
|---|
| 3555 | |
|---|
| 3556 | entonces |
|---|
| 3557 | \begin_inset Formula $\exists it_{1}\in\overbrace{Ct_{1}}\subset\underbrace{\overbrace{Ct_{1}}}\subset\underbrace{\overbrace{Ct_{1}}\oplus\overbrace{Ct_{2}}}\bot it\subset it_{1}$ |
|---|
| 3558 | \end_inset |
|---|
| 3559 | |
|---|
| 3560 | luego |
|---|
| 3561 | \begin_inset Formula $it\in\underbrace{\overbrace{Ct_{1}}\oplus\overbrace{Ct_{2}}}$ |
|---|
| 3562 | \end_inset |
|---|
| 3563 | |
|---|
| 3564 | . |
|---|
| 3565 | Del mismo modo se demuestra que si |
|---|
| 3566 | \begin_inset Formula $it\in Ct_{2}$ |
|---|
| 3567 | \end_inset |
|---|
| 3568 | |
|---|
| 3569 | entonces |
|---|
| 3570 | \begin_inset Formula $it\in\underbrace{\overbrace{Ct_{1}}\oplus\overbrace{Ct_{2}}}$ |
|---|
| 3571 | \end_inset |
|---|
| 3572 | |
|---|
| 3573 | . |
|---|
| 3574 | Luego |
|---|
| 3575 | \begin_inset Formula $Ct_{1}\cup Ct_{2}\subset\underbrace{\overbrace{Ct_{1}}\oplus\overbrace{Ct_{2}}}$ |
|---|
| 3576 | \end_inset |
|---|
| 3577 | |
|---|
| 3578 | . |
|---|
| 3579 | \layout Standard |
|---|
| 3580 | |
|---|
| 3581 | Obviamente , la suma de fechados es también un fechado. |
|---|
| 3582 | \layout Standard |
|---|
| 3583 | |
|---|
| 3584 | El sucesor de un IT en la suma de dos CT's es el mínimo de los sucesores |
|---|
| 3585 | en cada uno y el predecesor es el máximo. |
|---|
| 3586 | \layout Subsubsection |
|---|
| 3587 | |
|---|
| 3588 | Operación Producto de CT's |
|---|
| 3589 | \layout Standard |
|---|
| 3590 | |
|---|
| 3591 | El |
|---|
| 3592 | \emph on |
|---|
| 3593 | producto maximal |
|---|
| 3594 | \emph default |
|---|
| 3595 | o simplemente producto de dos conjuntos temporales es el conjunto generado |
|---|
| 3596 | por la intersección de las sucesiones maximales de ambos |
|---|
| 3597 | \layout Standard |
|---|
| 3598 | |
|---|
| 3599 | |
|---|
| 3600 | \begin_inset Formula \begin{equation} |
|---|
| 3601 | Ct_{1}*Ct_{2}=\underbrace{\overbrace{Ct_{1}}\otimes\overbrace{Ct_{2}}}\end{equation} |
|---|
| 3602 | |
|---|
| 3603 | \end_inset |
|---|
| 3604 | |
|---|
| 3605 | Dicho de otra forma: el maximal del producto de CT's es el producto disjunto |
|---|
| 3606 | de sus maximales. |
|---|
| 3607 | \layout Standard |
|---|
| 3608 | |
|---|
| 3609 | |
|---|
| 3610 | \begin_inset Formula \begin{equation} |
|---|
| 3611 | \overbrace{Ct_{1}*Ct_{2}}=\overbrace{Ct_{1}}\otimes\overbrace{Ct_{2}}\end{equation} |
|---|
| 3612 | |
|---|
| 3613 | \end_inset |
|---|
| 3614 | |
|---|
| 3615 | Es decir, los maximales de |
|---|
| 3616 | \begin_inset Formula $Ct_{1}*Ct_{2}$ |
|---|
| 3617 | \end_inset |
|---|
| 3618 | |
|---|
| 3619 | son los maximales comunes a |
|---|
| 3620 | \begin_inset Formula $Ct_{1}$ |
|---|
| 3621 | \end_inset |
|---|
| 3622 | |
|---|
| 3623 | y |
|---|
| 3624 | \begin_inset Formula $Ct_{2}$ |
|---|
| 3625 | \end_inset |
|---|
| 3626 | |
|---|
| 3627 | y se puede asegurar que |
|---|
| 3628 | \begin_inset Formula \begin{equation} |
|---|
| 3629 | granul\left(Ct_{1}*Ct_{2}\right)=\min\left\{ granul\left(Ct_{1}\right),\: granul\left(Ct_{2}\right)\right\} \end{equation} |
|---|
| 3630 | |
|---|
| 3631 | \end_inset |
|---|
| 3632 | |
|---|
| 3633 | |
|---|
| 3634 | \layout Standard |
|---|
| 3635 | |
|---|
| 3636 | |
|---|
| 3637 | \series bold |
|---|
| 3638 | \noun on |
|---|
| 3639 | Proposición: |
|---|
| 3640 | \noun default |
|---|
| 3641 | |
|---|
| 3642 | \series default |
|---|
| 3643 | El producto de dos conjuntos temporales coincide con la intersección de |
|---|
| 3644 | ambos conjuntos |
|---|
| 3645 | \layout Standard |
|---|
| 3646 | |
|---|
| 3647 | |
|---|
| 3648 | \begin_inset Formula \begin{equation} |
|---|
| 3649 | Ct_{1}*Ct_{2}=Ct_{1}\cap Ct_{2}\end{equation} |
|---|
| 3650 | |
|---|
| 3651 | \end_inset |
|---|
| 3652 | |
|---|
| 3653 | |
|---|
| 3654 | \layout Standard |
|---|
| 3655 | |
|---|
| 3656 | |
|---|
| 3657 | \series bold |
|---|
| 3658 | \noun on |
|---|
| 3659 | Demostración: |
|---|
| 3660 | \series default |
|---|
| 3661 | \noun default |
|---|
| 3662 | Los elementos de |
|---|
| 3663 | \begin_inset Formula $\underbrace{\overbrace{Ct_{1}}\otimes\overbrace{Ct_{2}}}$ |
|---|
| 3664 | \end_inset |
|---|
| 3665 | |
|---|
| 3666 | están incluidos en elementos que pertenecen a |
|---|
| 3667 | \begin_inset Formula $Ct_{1}$ |
|---|
| 3668 | \end_inset |
|---|
| 3669 | |
|---|
| 3670 | y a |
|---|
| 3671 | \begin_inset Formula $Ct_{2}$ |
|---|
| 3672 | \end_inset |
|---|
| 3673 | |
|---|
| 3674 | por lo que también pertenecen a uno y a otro, y se tiene que |
|---|
| 3675 | \begin_inset Formula $\underbrace{\overbrace{Ct_{1}}\otimes\overbrace{Ct_{2}}}\subset Ct_{1}\cap Ct_{2}$ |
|---|
| 3676 | \end_inset |
|---|
| 3677 | |
|---|
| 3678 | . |
|---|
| 3679 | Si |
|---|
| 3680 | \begin_inset Formula $it\in Ct_{1}\cap Ct_{2}$ |
|---|
| 3681 | \end_inset |
|---|
| 3682 | |
|---|
| 3683 | entonces existe un |
|---|
| 3684 | \begin_inset Formula $it'$ |
|---|
| 3685 | \end_inset |
|---|
| 3686 | |
|---|
| 3687 | que es elemento maximal de |
|---|
| 3688 | \begin_inset Formula $Ct_{1}\cap Ct_{2}$ |
|---|
| 3689 | \end_inset |
|---|
| 3690 | |
|---|
| 3691 | , o sea |
|---|
| 3692 | \begin_inset Formula $\exists it'\in\overbrace{Ct_{1}\cap Ct_{2}}\bot it\subset it'$ |
|---|
| 3693 | \end_inset |
|---|
| 3694 | |
|---|
| 3695 | . |
|---|
| 3696 | Luego |
|---|
| 3697 | \begin_inset Formula $it'$ |
|---|
| 3698 | \end_inset |
|---|
| 3699 | |
|---|
| 3700 | pertenece a ambos conjuntos y no hay ningún otro elemento en ellos que |
|---|
| 3701 | lo contenga, por lo tanto es maximal en cada uno de ellos, es decir, |
|---|
| 3702 | \begin_inset Formula $it'\in\overbrace{Ct_{1}}\cap\overbrace{Ct_{2}}$ |
|---|
| 3703 | \end_inset |
|---|
| 3704 | |
|---|
| 3705 | = |
|---|
| 3706 | \begin_inset Formula $\overbrace{Ct_{1}}\otimes\overbrace{Ct_{2}}$ |
|---|
| 3707 | \end_inset |
|---|
| 3708 | |
|---|
| 3709 | . |
|---|
| 3710 | Por lo tanto |
|---|
| 3711 | \begin_inset Formula $it\in\underbrace{\overbrace{Ct_{1}}\otimes\overbrace{Ct_{2}}}$ |
|---|
| 3712 | \end_inset |
|---|
| 3713 | |
|---|
| 3714 | y |
|---|
| 3715 | \begin_inset Formula $Ct_{1}\cap Ct_{2}\subset\underbrace{\overbrace{Ct_{1}}\otimes\overbrace{Ct_{2}}}$ |
|---|
| 3716 | \end_inset |
|---|
| 3717 | |
|---|
| 3718 | . |
|---|
| 3719 | \layout Standard |
|---|
| 3720 | |
|---|
| 3721 | La granularidad del producto de CT's es obviamente la mínima de las granularidad |
|---|
| 3722 | es de cada uno |
|---|
| 3723 | \begin_inset Formula \begin{equation} |
|---|
| 3724 | granul\left(Ct_{1}*Ct_{2}\right)=\min\left\{ granul\left(Ct_{1}\right),\: granul\left(Ct_{2}\right)\right\} \end{equation} |
|---|
| 3725 | |
|---|
| 3726 | \end_inset |
|---|
| 3727 | |
|---|
| 3728 | |
|---|
| 3729 | \layout Standard |
|---|
| 3730 | |
|---|
| 3731 | El producto de fechados puede ser un fechado o no serlo. |
|---|
| 3732 | \layout Standard |
|---|
| 3733 | |
|---|
| 3734 | El sucesor de un IT en el producto de dos CT's es algo más complicado que |
|---|
| 3735 | el de la suma . |
|---|
| 3736 | Primero se calcula el sucesor en |
|---|
| 3737 | \begin_inset Formula $it'=it+Ct_{1}$ |
|---|
| 3738 | \end_inset |
|---|
| 3739 | |
|---|
| 3740 | . |
|---|
| 3741 | Si |
|---|
| 3742 | \begin_inset Formula $it'\in Ct_{2}$ |
|---|
| 3743 | \end_inset |
|---|
| 3744 | |
|---|
| 3745 | ya está hecho. |
|---|
| 3746 | Si no, se calcula |
|---|
| 3747 | \begin_inset Formula $it''=it'+Ct_{2}$ |
|---|
| 3748 | \end_inset |
|---|
| 3749 | |
|---|
| 3750 | . |
|---|
| 3751 | Si |
|---|
| 3752 | \begin_inset Formula $it''\in Ct_{1}$ |
|---|
| 3753 | \end_inset |
|---|
| 3754 | |
|---|
| 3755 | ya está hecho y si no se pone |
|---|
| 3756 | \begin_inset Formula $it\leftarrow it''$ |
|---|
| 3757 | \end_inset |
|---|
| 3758 | |
|---|
| 3759 | y se continua calculando sucesores alternativamente en uno y otro conjunto |
|---|
| 3760 | hasta que se encuentre uno que pertenezca al otro conjunto o nos devuelva |
|---|
| 3761 | un IT impropio. |
|---|
| 3762 | De forma análoga se calcula el predecesor retrocediendo en cada uno de |
|---|
| 3763 | los CT's y haciendo las mismas comprobaciones en cada iteración. |
|---|
| 3764 | \layout Standard |
|---|
| 3765 | |
|---|
| 3766 | Este caracter recursivo da lugar a un ciclo infinito cuando el resultado |
|---|
| 3767 | de una intersección es vacío. |
|---|
| 3768 | Por ello se debe disponer de un mecanismo que analize simbólicamente las |
|---|
| 3769 | expresiones para evitar esa situación. |
|---|
| 3770 | En cualquier caso sería conveniente dar un mensaje de advertencia cuando |
|---|
| 3771 | se sobrepasara determinado número de iteraciones considerado como excesivo. |
|---|
| 3772 | También sería bueno para el ciclo y dar un mensaje de error a partir de |
|---|
| 3773 | un úmero máximo de iteraciones. |
|---|
| 3774 | Ambos límites deberían ser definibles por el usuario. |
|---|
| 3775 | \layout Subsubsection |
|---|
| 3776 | |
|---|
| 3777 | Operación Diferencia de CT's |
|---|
| 3778 | \layout Standard |
|---|
| 3779 | |
|---|
| 3780 | La |
|---|
| 3781 | \emph on |
|---|
| 3782 | diferencia maximal |
|---|
| 3783 | \emph default |
|---|
| 3784 | , o simplemente diferencia de dos conjuntos temporales es el conjunto temporal |
|---|
| 3785 | generado por la diferencia disjunta de las sucesiones maximales de ambos |
|---|
| 3786 | conjuntos |
|---|
| 3787 | \layout Standard |
|---|
| 3788 | |
|---|
| 3789 | |
|---|
| 3790 | \begin_inset Formula \begin{equation} |
|---|
| 3791 | Ct_{1}\ominus Ct_{2}=\underbrace{\overbrace{Ct_{1}}\ominus\overbrace{Ct_{2}}}\end{equation} |
|---|
| 3792 | |
|---|
| 3793 | \end_inset |
|---|
| 3794 | |
|---|
| 3795 | |
|---|
| 3796 | \layout Standard |
|---|
| 3797 | |
|---|
| 3798 | Dicho de otra forma: el maximal de la diferencia de CT's es la diferencia |
|---|
| 3799 | disjunta de sus maximales. |
|---|
| 3800 | \layout Standard |
|---|
| 3801 | |
|---|
| 3802 | |
|---|
| 3803 | \begin_inset Formula \begin{equation} |
|---|
| 3804 | \overbrace{Ct_{1}\ominus Ct_{2}}=\overbrace{Ct_{1}}\ominus\overbrace{Ct_{2}}\end{equation} |
|---|
| 3805 | |
|---|
| 3806 | \end_inset |
|---|
| 3807 | |
|---|
| 3808 | Es decir, los maximales de |
|---|
| 3809 | \begin_inset Formula $Ct_{1}\ominus Ct_{2}$ |
|---|
| 3810 | \end_inset |
|---|
| 3811 | |
|---|
| 3812 | son los maximales de |
|---|
| 3813 | \begin_inset Formula $Ct_{1}$ |
|---|
| 3814 | \end_inset |
|---|
| 3815 | |
|---|
| 3816 | que no incluyen a los de |
|---|
| 3817 | \begin_inset Formula $Ct_{2}$ |
|---|
| 3818 | \end_inset |
|---|
| 3819 | |
|---|
| 3820 | . |
|---|
| 3821 | Por lo tanto sólo se puede asegurar que |
|---|
| 3822 | \begin_inset Formula \begin{equation} |
|---|
| 3823 | granul\left(Ct_{1}\ominus Ct_{2}\right)\geq granul\left(Ct_{1}\right)\end{equation} |
|---|
| 3824 | |
|---|
| 3825 | \end_inset |
|---|
| 3826 | |
|---|
| 3827 | Se demuestra de forma trivial que la diferencia maximal no coincide con |
|---|
| 3828 | la diferencia usual de conjuntos |
|---|
| 3829 | \layout Standard |
|---|
| 3830 | |
|---|
| 3831 | |
|---|
| 3832 | \begin_inset Formula \begin{equation} |
|---|
| 3833 | Ct_{1}\ominus Ct_{2}\neq Ct_{1}-Ct_{2}=\left\{ it\in\mathfrak{C}_{6}|it\in Ct_{1}\wedge it\notin Ct_{2}\right\} \end{equation} |
|---|
| 3834 | |
|---|
| 3835 | \end_inset |
|---|
| 3836 | |
|---|
| 3837 | |
|---|
| 3838 | \layout Standard |
|---|
| 3839 | |
|---|
| 3840 | Por ejemplo |
|---|
| 3841 | \begin_inset Formula $cDaily-cHourly$ |
|---|
| 3842 | \end_inset |
|---|
| 3843 | |
|---|
| 3844 | contendría el IT y2005m1d1 pero no el y2005m1d1h1 que pertenece al interior |
|---|
| 3845 | del primero. |
|---|
| 3846 | Luego |
|---|
| 3847 | \begin_inset Formula $cDaily-cHourly$ |
|---|
| 3848 | \end_inset |
|---|
| 3849 | |
|---|
| 3850 | no es un conjunto temporal mientras que |
|---|
| 3851 | \begin_inset Formula $cDaily\ominus cHourly$ |
|---|
| 3852 | \end_inset |
|---|
| 3853 | |
|---|
| 3854 | sería el conjunto vacío pues cada IT maximal de |
|---|
| 3855 | \begin_inset Formula $cDaily$ |
|---|
| 3856 | \end_inset |
|---|
| 3857 | |
|---|
| 3858 | contiene IT's maximales de |
|---|
| 3859 | \begin_inset Formula $cHourly$ |
|---|
| 3860 | \end_inset |
|---|
| 3861 | |
|---|
| 3862 | y serían todos eliminados. |
|---|
| 3863 | |
|---|
| 3864 | \layout Standard |
|---|
| 3865 | |
|---|
| 3866 | Otro ejemplo: el conjunto |
|---|
| 3867 | \begin_inset Formula $cDaily\ominus cHour\left(8\right)=cHourly\ominus cHour\left(8\right)$ |
|---|
| 3868 | \end_inset |
|---|
| 3869 | |
|---|
| 3870 | contendría todas las horas excepto la octava de cada día. |
|---|
| 3871 | \layout Standard |
|---|
| 3872 | |
|---|
| 3873 | La diferencia de fechados puede ser un fechado o no serlo. |
|---|
| 3874 | \layout Standard |
|---|
| 3875 | |
|---|
| 3876 | Para calcular el sucesor de un IT en la diferencia de fechados primero se |
|---|
| 3877 | calcula el sucesor en |
|---|
| 3878 | \begin_inset Formula $it'=it+Ct_{1}$ |
|---|
| 3879 | \end_inset |
|---|
| 3880 | |
|---|
| 3881 | . |
|---|
| 3882 | Si |
|---|
| 3883 | \begin_inset Formula $it'\notin Ct_{2}$ |
|---|
| 3884 | \end_inset |
|---|
| 3885 | |
|---|
| 3886 | ya está hecho. |
|---|
| 3887 | Si no, se calcula |
|---|
| 3888 | \begin_inset Formula $it''=it'+Ct_{1}$ |
|---|
| 3889 | \end_inset |
|---|
| 3890 | |
|---|
| 3891 | . |
|---|
| 3892 | Si |
|---|
| 3893 | \begin_inset Formula $it''\notin Ct_{2}$ |
|---|
| 3894 | \end_inset |
|---|
| 3895 | |
|---|
| 3896 | ya está hecho y si no, se continua calculando sucesores en |
|---|
| 3897 | \begin_inset Formula $Ct_{1}$ |
|---|
| 3898 | \end_inset |
|---|
| 3899 | |
|---|
| 3900 | hasta que se encuentre uno que no esté en |
|---|
| 3901 | \begin_inset Formula $Ct_{2}$ |
|---|
| 3902 | \end_inset |
|---|
| 3903 | |
|---|
| 3904 | o nos devuelva un IT impropio. |
|---|
| 3905 | De forma análoga se calcula el predecesor retrocediendo en |
|---|
| 3906 | \begin_inset Formula $Ct_{1}$ |
|---|
| 3907 | \end_inset |
|---|
| 3908 | |
|---|
| 3909 | y haciendo las mismas comprobaciones en cada iteración. |
|---|
| 3910 | Considérese válido aquí todo lo referente a los ciclos infinitos explicado |
|---|
| 3911 | en el apartado anterior. |
|---|
| 3912 | \layout Subsection |
|---|
| 3913 | |
|---|
| 3914 | Operadores de Traslación en un Fechado |
|---|
| 3915 | \layout Standard |
|---|
| 3916 | |
|---|
| 3917 | Los operadores de traslación de conjuntos construyen un CT basándose en |
|---|
| 3918 | desplazar todos sus IT's a lo largo de un fechado. |
|---|
| 3919 | \layout Subsubsection |
|---|
| 3920 | |
|---|
| 3921 | Operación cSucc |
|---|
| 3922 | \layout Standard |
|---|
| 3923 | |
|---|
| 3924 | Se define el conjunto sucesor |
|---|
| 3925 | \begin_inset Formula $n$ |
|---|
| 3926 | \end_inset |
|---|
| 3927 | |
|---|
| 3928 | -ésimo de un conjunto |
|---|
| 3929 | \begin_inset Formula $Ct$ |
|---|
| 3930 | \end_inset |
|---|
| 3931 | |
|---|
| 3932 | en un fechado |
|---|
| 3933 | \begin_inset Formula $F$ |
|---|
| 3934 | \end_inset |
|---|
| 3935 | |
|---|
| 3936 | , y se expresa |
|---|
| 3937 | \begin_inset Formula $cSuccInCT\left(Ct,n,F\right)$ |
|---|
| 3938 | \end_inset |
|---|
| 3939 | |
|---|
| 3940 | ó |
|---|
| 3941 | \begin_inset Formula $Ct+n\times F$ |
|---|
| 3942 | \end_inset |
|---|
| 3943 | |
|---|
| 3944 | , como el conjunto temporal generado por la sucesión disjunta obtenida al |
|---|
| 3945 | aplicar el sucesor |
|---|
| 3946 | \begin_inset Formula $n$ |
|---|
| 3947 | \end_inset |
|---|
| 3948 | |
|---|
| 3949 | -ésimo en el fechado |
|---|
| 3950 | \begin_inset Formula $F$ |
|---|
| 3951 | \end_inset |
|---|
| 3952 | |
|---|
| 3953 | a todos los IT maximales de |
|---|
| 3954 | \begin_inset Formula $Ct$ |
|---|
| 3955 | \end_inset |
|---|
| 3956 | |
|---|
| 3957 | , al que llamaremos conjunto de origen de la traslación. |
|---|
| 3958 | \layout Standard |
|---|
| 3959 | |
|---|
| 3960 | |
|---|
| 3961 | \begin_inset Formula \begin{equation} |
|---|
| 3962 | \overbrace{Ct+n\times F}=\left\{ it\in F\:|\:\exists\, it'\in\overbrace{Ct}\,\wedge\, it=it'+n\times F\right\} \end{equation} |
|---|
| 3963 | |
|---|
| 3964 | \end_inset |
|---|
| 3965 | |
|---|
| 3966 | |
|---|
| 3967 | \layout Standard |
|---|
| 3968 | |
|---|
| 3969 | La granularidad del conjunto sucesor |
|---|
| 3970 | \begin_inset Formula $n$ |
|---|
| 3971 | \end_inset |
|---|
| 3972 | |
|---|
| 3973 | -ésimo es la mínima de las granularidades de |
|---|
| 3974 | \begin_inset Formula $Ct$ |
|---|
| 3975 | \end_inset |
|---|
| 3976 | |
|---|
| 3977 | y |
|---|
| 3978 | \begin_inset Formula $F$ |
|---|
| 3979 | \end_inset |
|---|
| 3980 | |
|---|
| 3981 | . |
|---|
| 3982 | \begin_inset Formula \begin{equation} |
|---|
| 3983 | granul\left(Ct+n\times F\right)=\min\left\{ granul\left(Ct\right),\: granul\left(F\right)\right\} \end{equation} |
|---|
| 3984 | |
|---|
| 3985 | \end_inset |
|---|
| 3986 | |
|---|
| 3987 | |
|---|
| 3988 | \layout Standard |
|---|
| 3989 | |
|---|
| 3990 | El conjunto sucesor de un fechado en un fechado es también un fechado. |
|---|
| 3991 | \layout Paragraph |
|---|
| 3992 | |
|---|
| 3993 | Cálculo de la función de pertenencia a |
|---|
| 3994 | \begin_inset Formula $Ct+n\times F$ |
|---|
| 3995 | \end_inset |
|---|
| 3996 | |
|---|
| 3997 | |
|---|
| 3998 | \layout Standard |
|---|
| 3999 | |
|---|
| 4000 | El método de cálculo será constructivo, es decir, se intentará encontrar |
|---|
| 4001 | el IT de |
|---|
| 4002 | \begin_inset Formula $Ct$ |
|---|
| 4003 | \end_inset |
|---|
| 4004 | |
|---|
| 4005 | cuyo sucesor |
|---|
| 4006 | \begin_inset Formula $n$ |
|---|
| 4007 | \end_inset |
|---|
| 4008 | |
|---|
| 4009 | -ésimo es el IT dado. |
|---|
| 4010 | Si se consigue se devuelve |
|---|
| 4011 | \emph on |
|---|
| 4012 | cierto |
|---|
| 4013 | \emph default |
|---|
| 4014 | y si no se consigue se devuelve |
|---|
| 4015 | \emph on |
|---|
| 4016 | falso. |
|---|
| 4017 | |
|---|
| 4018 | \layout Standard |
|---|
| 4019 | |
|---|
| 4020 | Sea |
|---|
| 4021 | \begin_inset Formula $it\in F$ |
|---|
| 4022 | \end_inset |
|---|
| 4023 | |
|---|
| 4024 | y supongamos que |
|---|
| 4025 | \begin_inset Formula $n\in\mathbb{Z}^{+}$ |
|---|
| 4026 | \end_inset |
|---|
| 4027 | |
|---|
| 4028 | , entonces llamamos |
|---|
| 4029 | \layout Standard |
|---|
| 4030 | |
|---|
| 4031 | |
|---|
| 4032 | \begin_inset Tabular |
|---|
| 4033 | <lyxtabular version="3" rows="5" columns="2"> |
|---|
| 4034 | <features> |
|---|
| 4035 | <column alignment="left" valignment="top" width="0"> |
|---|
| 4036 | <column alignment="left" valignment="top" width="0"> |
|---|
| 4037 | <row> |
|---|
| 4038 | <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> |
|---|
| 4039 | \begin_inset Text |
|---|
| 4040 | |
|---|
| 4041 | \layout Standard |
|---|
| 4042 | |
|---|
| 4043 | \end_inset |
|---|
| 4044 | </cell> |
|---|
| 4045 | <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> |
|---|
| 4046 | \begin_inset Text |
|---|
| 4047 | |
|---|
| 4048 | \layout Standard |
|---|
| 4049 | |
|---|
| 4050 | \end_inset |
|---|
| 4051 | </cell> |
|---|
| 4052 | </row> |
|---|
| 4053 | <row> |
|---|
| 4054 | <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> |
|---|
| 4055 | \begin_inset Text |
|---|
| 4056 | |
|---|
| 4057 | \layout Standard |
|---|
| 4058 | |
|---|
| 4059 | |
|---|
| 4060 | \begin_inset Formula $it'=it-\left(n-1\right)\times F$ |
|---|
| 4061 | \end_inset |
|---|
| 4062 | |
|---|
| 4063 | |
|---|
| 4064 | \end_inset |
|---|
| 4065 | </cell> |
|---|
| 4066 | <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> |
|---|
| 4067 | \begin_inset Text |
|---|
| 4068 | |
|---|
| 4069 | \layout Standard |
|---|
| 4070 | |
|---|
| 4071 | al predecesor |
|---|
| 4072 | \begin_inset Formula $\left(n-1\right)$ |
|---|
| 4073 | \end_inset |
|---|
| 4074 | |
|---|
| 4075 | -ésimo en |
|---|
| 4076 | \begin_inset Formula $F$ |
|---|
| 4077 | \end_inset |
|---|
| 4078 | |
|---|
| 4079 | de |
|---|
| 4080 | \begin_inset Formula $it$ |
|---|
| 4081 | \end_inset |
|---|
| 4082 | |
|---|
| 4083 | |
|---|
| 4084 | \end_inset |
|---|
| 4085 | </cell> |
|---|
| 4086 | </row> |
|---|
| 4087 | <row> |
|---|
| 4088 | <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> |
|---|
| 4089 | \begin_inset Text |
|---|
| 4090 | |
|---|
| 4091 | \layout Standard |
|---|
| 4092 | |
|---|
| 4093 | |
|---|
| 4094 | \begin_inset Formula $it''=it'-Ct\in Ct$ |
|---|
| 4095 | \end_inset |
|---|
| 4096 | |
|---|
| 4097 | |
|---|
| 4098 | \end_inset |
|---|
| 4099 | </cell> |
|---|
| 4100 | <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> |
|---|
| 4101 | \begin_inset Text |
|---|
| 4102 | |
|---|
| 4103 | \layout Standard |
|---|
| 4104 | |
|---|
| 4105 | al predecesor en |
|---|
| 4106 | \begin_inset Formula $Ct$ |
|---|
| 4107 | \end_inset |
|---|
| 4108 | |
|---|
| 4109 | de |
|---|
| 4110 | \begin_inset Formula $it'$ |
|---|
| 4111 | \end_inset |
|---|
| 4112 | |
|---|
| 4113 | |
|---|
| 4114 | \end_inset |
|---|
| 4115 | </cell> |
|---|
| 4116 | </row> |
|---|
| 4117 | <row> |
|---|
| 4118 | <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> |
|---|
| 4119 | \begin_inset Text |
|---|
| 4120 | |
|---|
| 4121 | \layout Standard |
|---|
| 4122 | |
|---|
| 4123 | |
|---|
| 4124 | \begin_inset Formula $it'''=it-n\times F=it'-F\in Ct$ |
|---|
| 4125 | \end_inset |
|---|
| 4126 | |
|---|
| 4127 | |
|---|
| 4128 | \end_inset |
|---|
| 4129 | </cell> |
|---|
| 4130 | <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> |
|---|
| 4131 | \begin_inset Text |
|---|
| 4132 | |
|---|
| 4133 | \layout Standard |
|---|
| 4134 | |
|---|
| 4135 | al predecesor |
|---|
| 4136 | \begin_inset Formula $n$ |
|---|
| 4137 | \end_inset |
|---|
| 4138 | |
|---|
| 4139 | -ésimo en |
|---|
| 4140 | \begin_inset Formula $F$ |
|---|
| 4141 | \end_inset |
|---|
| 4142 | |
|---|
| 4143 | de |
|---|
| 4144 | \begin_inset Formula $it$ |
|---|
| 4145 | \end_inset |
|---|
| 4146 | |
|---|
| 4147 | |
|---|
| 4148 | \end_inset |
|---|
| 4149 | </cell> |
|---|
| 4150 | </row> |
|---|
| 4151 | <row> |
|---|
| 4152 | <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> |
|---|
| 4153 | \begin_inset Text |
|---|
| 4154 | |
|---|
| 4155 | \layout Standard |
|---|
| 4156 | |
|---|
| 4157 | \end_inset |
|---|
| 4158 | </cell> |
|---|
| 4159 | <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> |
|---|
| 4160 | \begin_inset Text |
|---|
| 4161 | |
|---|
| 4162 | \layout Standard |
|---|
| 4163 | |
|---|
| 4164 | \end_inset |
|---|
| 4165 | </cell> |
|---|
| 4166 | </row> |
|---|
| 4167 | </lyxtabular> |
|---|
| 4168 | |
|---|
| 4169 | \end_inset |
|---|
| 4170 | |
|---|
| 4171 | |
|---|
| 4172 | \layout Standard |
|---|
| 4173 | |
|---|
| 4174 | Entonces se se puede asegurar que |
|---|
| 4175 | \begin_inset Formula \begin{equation} |
|---|
| 4176 | it\in Ct+n\times F\Leftrightarrow it\in F\,\wedge it'''\leq it''\end{equation} |
|---|
| 4177 | |
|---|
| 4178 | \end_inset |
|---|
| 4179 | |
|---|
| 4180 | |
|---|
| 4181 | \layout Standard |
|---|
| 4182 | |
|---|
| 4183 | Para comprobarlo sólo hay que visualizar la secuencia temporal que forman |
|---|
| 4184 | los IT's definidos |
|---|
| 4185 | \begin_inset Formula \begin{equation} |
|---|
| 4186 | it'''=it-n\times F\leq it''<it'=it-\left(n-1\right)\times F<\cdots<it-F<it\end{equation} |
|---|
| 4187 | |
|---|
| 4188 | \end_inset |
|---|
| 4189 | |
|---|
| 4190 | Salta a la vista que existe |
|---|
| 4191 | \begin_inset Formula $it''\in Ct$ |
|---|
| 4192 | \end_inset |
|---|
| 4193 | |
|---|
| 4194 | tal que |
|---|
| 4195 | \begin_inset Formula $it''+n\times F=it$ |
|---|
| 4196 | \end_inset |
|---|
| 4197 | |
|---|
| 4198 | . |
|---|
| 4199 | \layout Standard |
|---|
| 4200 | |
|---|
| 4201 | Para |
|---|
| 4202 | \begin_inset Formula $Ct-n\times F$ |
|---|
| 4203 | \end_inset |
|---|
| 4204 | |
|---|
| 4205 | con |
|---|
| 4206 | \begin_inset Formula $n\in\mathbb{Z}^{+}$ |
|---|
| 4207 | \end_inset |
|---|
| 4208 | |
|---|
| 4209 | se puede desarrollar un argumento análogo al anterior definiendo |
|---|
| 4210 | \begin_inset Formula $it'=it+\left(n-1\right)\times F$ |
|---|
| 4211 | \end_inset |
|---|
| 4212 | |
|---|
| 4213 | y |
|---|
| 4214 | \begin_inset Formula $it''=it'+Ct\in Ct$ |
|---|
| 4215 | \end_inset |
|---|
| 4216 | |
|---|
| 4217 | para formar la secuencia |
|---|
| 4218 | \layout Standard |
|---|
| 4219 | |
|---|
| 4220 | |
|---|
| 4221 | \begin_inset Formula \begin{equation} |
|---|
| 4222 | it'+F=it+n\times F>it''\leq it'=it+\left(n-1\right)\times F>\cdots>it+F>it\end{equation} |
|---|
| 4223 | |
|---|
| 4224 | \end_inset |
|---|
| 4225 | |
|---|
| 4226 | |
|---|
| 4227 | \layout Standard |
|---|
| 4228 | |
|---|
| 4229 | Cuando |
|---|
| 4230 | \begin_inset Formula $n=0$ |
|---|
| 4231 | \end_inset |
|---|
| 4232 | |
|---|
| 4233 | se tiene |
|---|
| 4234 | \begin_inset Formula $Ct\pm0\times F=Ct*F$ |
|---|
| 4235 | \end_inset |
|---|
| 4236 | |
|---|
| 4237 | y, en resumen, se puede asegurar que |
|---|
| 4238 | \begin_inset Formula $\forall\: n\in\mathbb{Z}$ |
|---|
| 4239 | \end_inset |
|---|
| 4240 | |
|---|
| 4241 | se cumple que |
|---|
| 4242 | \layout Standard |
|---|
| 4243 | |
|---|
| 4244 | |
|---|
| 4245 | \begin_inset Formula \begin{equation} |
|---|
| 4246 | it\in Ct+n\times F\Leftrightarrow it\in F\wedge\left\{ \begin{array}{cccccc} |
|---|
| 4247 | n=0 & \wedge & it\in Ct & & & \vee\\ |
|---|
| 4248 | n\neq0 & \wedge & it'=it-n\times F\in Ct & & & \vee\\ |
|---|
| 4249 | n>0 & \wedge & \; it'\notin Ct & \wedge & it'-Ct>it'-F & \vee\\ |
|---|
| 4250 | n<0 & \wedge & \; it'\notin Ct & \wedge & it'+Ct<it'+F\end{array}\right.\end{equation} |
|---|
| 4251 | |
|---|
| 4252 | \end_inset |
|---|
| 4253 | |
|---|
| 4254 | |
|---|
| 4255 | \layout Standard |
|---|
| 4256 | |
|---|
| 4257 | Cada llamada a la función de pertenencia a |
|---|
| 4258 | \begin_inset Formula $S=Ct+n\times F$ |
|---|
| 4259 | \end_inset |
|---|
| 4260 | |
|---|
| 4261 | requiere un coste computacional que se puede expresar así. |
|---|
| 4262 | |
|---|
| 4263 | \layout Standard |
|---|
| 4264 | |
|---|
| 4265 | |
|---|
| 4266 | \begin_inset Formula \begin{equation} |
|---|
| 4267 | C\left(\in S\right)\leq C\left(\in F\right)+C\left(\in Ct\right)+C\left(\pm Ct\right)+C\left(\pm n\times F\right)\end{equation} |
|---|
| 4268 | |
|---|
| 4269 | \end_inset |
|---|
| 4270 | |
|---|
| 4271 | |
|---|
| 4272 | \layout Paragraph |
|---|
| 4273 | |
|---|
| 4274 | Cálculo del sucesor |
|---|
| 4275 | \begin_inset Formula $h$ |
|---|
| 4276 | \end_inset |
|---|
| 4277 | |
|---|
| 4278 | -ésimo de un IT en |
|---|
| 4279 | \begin_inset Formula $Ct+n\times F$ |
|---|
| 4280 | \end_inset |
|---|
| 4281 | |
|---|
| 4282 | |
|---|
| 4283 | \layout Standard |
|---|
| 4284 | |
|---|
| 4285 | En el apartado anterior se ha calculado el |
|---|
| 4286 | \begin_inset Formula $it''\in Ct$ |
|---|
| 4287 | \end_inset |
|---|
| 4288 | |
|---|
| 4289 | tal que |
|---|
| 4290 | \begin_inset Formula $it''+n\times F=it$ |
|---|
| 4291 | \end_inset |
|---|
| 4292 | |
|---|
| 4293 | dado un |
|---|
| 4294 | \begin_inset Formula $it\in F$ |
|---|
| 4295 | \end_inset |
|---|
| 4296 | |
|---|
| 4297 | . |
|---|
| 4298 | Si |
|---|
| 4299 | \begin_inset Formula $it\in F$ |
|---|
| 4300 | \end_inset |
|---|
| 4301 | |
|---|
| 4302 | |
|---|
| 4303 | \layout Standard |
|---|
| 4304 | |
|---|
| 4305 | Pues bien, si calculamos |
|---|
| 4306 | \begin_inset Formula $\dot{it}=it''+Ct$ |
|---|
| 4307 | \end_inset |
|---|
| 4308 | |
|---|
| 4309 | , es evidente que |
|---|
| 4310 | \begin_inset Formula $\dot{it}+n\times F\in Ct+n\times F$ |
|---|
| 4311 | \end_inset |
|---|
| 4312 | |
|---|
| 4313 | y que |
|---|
| 4314 | \begin_inset Formula $\dot{it}+n\times F>it$ |
|---|
| 4315 | \end_inset |
|---|
| 4316 | |
|---|
| 4317 | así como que no puede haber ningún otro elemento de |
|---|
| 4318 | \begin_inset Formula $Ct+n\times F$ |
|---|
| 4319 | \end_inset |
|---|
| 4320 | |
|---|
| 4321 | situado entre |
|---|
| 4322 | \begin_inset Formula $it=it''+n\times F$ |
|---|
| 4323 | \end_inset |
|---|
| 4324 | |
|---|
| 4325 | y |
|---|
| 4326 | \begin_inset Formula $\dot{it}+n\times F$ |
|---|
| 4327 | \end_inset |
|---|
| 4328 | |
|---|
| 4329 | que ha de ser forzosamente el sucesor de |
|---|
| 4330 | \begin_inset Formula $it$ |
|---|
| 4331 | \end_inset |
|---|
| 4332 | |
|---|
| 4333 | en |
|---|
| 4334 | \begin_inset Formula $Ct+n\times F$ |
|---|
| 4335 | \end_inset |
|---|
| 4336 | |
|---|
| 4337 | . |
|---|
| 4338 | \layout Standard |
|---|
| 4339 | |
|---|
| 4340 | Por lo tanto, para calcular el sucesor o el predecesor simple de un IT se |
|---|
| 4341 | tendrá en cuenta lo siguiente |
|---|
| 4342 | \layout Standard |
|---|
| 4343 | |
|---|
| 4344 | |
|---|
| 4345 | \begin_inset Formula \begin{equation} |
|---|
| 4346 | \begin{array}{c} |
|---|
| 4347 | it+\left(Ct+n\times F\right)=\left(it''+Ct\right)+n\times F\\ |
|---|
| 4348 | it+\left(Ct+n\times F\right)=\left(it''-Ct\right)+n\times F\end{array}\end{equation} |
|---|
| 4349 | |
|---|
| 4350 | \end_inset |
|---|
| 4351 | |
|---|
| 4352 | |
|---|
| 4353 | \layout Standard |
|---|
| 4354 | |
|---|
| 4355 | El coste computacional en este caso será |
|---|
| 4356 | \layout Standard |
|---|
| 4357 | |
|---|
| 4358 | |
|---|
| 4359 | \begin_inset Formula \begin{equation} |
|---|
| 4360 | C\left(\pm S\right)\leq C\left(\in F\right)+C\left(\in Ct\right)+2\cdot C\left(\pm Ct\right)+C\left(\pm2\cdot n\times F\right)\end{equation} |
|---|
| 4361 | |
|---|
| 4362 | \end_inset |
|---|
| 4363 | |
|---|
| 4364 | |
|---|
| 4365 | \layout Standard |
|---|
| 4366 | |
|---|
| 4367 | Una vez calculado el primer sucesor o predecesor, los siguientes son simplemente |
|---|
| 4368 | sucesores o predecesores en en el fechado |
|---|
| 4369 | \begin_inset Formula $F$ |
|---|
| 4370 | \end_inset |
|---|
| 4371 | |
|---|
| 4372 | . |
|---|
| 4373 | Así pues, se tienen las siguientes fórmulas que reducen el cálculo del |
|---|
| 4374 | sucesor |
|---|
| 4375 | \begin_inset Formula $h$ |
|---|
| 4376 | \end_inset |
|---|
| 4377 | |
|---|
| 4378 | -ésimo de un IT a una sola ejecución de la función sucesor seguida por el |
|---|
| 4379 | sucesor |
|---|
| 4380 | \begin_inset Formula $h-1$ |
|---|
| 4381 | \end_inset |
|---|
| 4382 | |
|---|
| 4383 | -ésimo en el fechado |
|---|
| 4384 | \begin_inset Formula $F$ |
|---|
| 4385 | \end_inset |
|---|
| 4386 | |
|---|
| 4387 | . |
|---|
| 4388 | Lo mismo ocurre si se quiere el predecesor |
|---|
| 4389 | \begin_inset Formula $h$ |
|---|
| 4390 | \end_inset |
|---|
| 4391 | |
|---|
| 4392 | -ésimo |
|---|
| 4393 | \layout Standard |
|---|
| 4394 | |
|---|
| 4395 | |
|---|
| 4396 | \begin_inset Formula \begin{equation} |
|---|
| 4397 | \begin{array}{c} |
|---|
| 4398 | it+h\times\left(Ct+n\times F\right)=\left(it+\left(Ct+n\times F\right)\right)+\left(h-1\right)\times F\;\forall h\in\mathbb{Z}^{+}\\ |
|---|
| 4399 | it-h\times\left(Ct+n\times F\right)=\left(it-\left(Ct+n\times F\right)\right)-\left(h-1\right)\times F\;\forall h\in\mathbb{Z}^{+}\end{array}\end{equation} |
|---|
| 4400 | |
|---|
| 4401 | \end_inset |
|---|
| 4402 | |
|---|
| 4403 | |
|---|
| 4404 | \layout Standard |
|---|
| 4405 | |
|---|
| 4406 | El coste computacional total será |
|---|
| 4407 | \layout Standard |
|---|
| 4408 | |
|---|
| 4409 | |
|---|
| 4410 | \begin_inset Formula \begin{equation} |
|---|
| 4411 | C\left(\pm h\times S\right)\leq C\left(\in F\right)+C\left(\in Ct\right)+2\cdot C\left(\pm Ct\right)+C\left(\pm\left(2\cdot n+h-1\right)\times F\right)\end{equation} |
|---|
| 4412 | |
|---|
| 4413 | \end_inset |
|---|
| 4414 | |
|---|
| 4415 | |
|---|
| 4416 | \layout Subsubsection |
|---|
| 4417 | |
|---|
| 4418 | Operación cRange |
|---|
| 4419 | \layout Standard |
|---|
| 4420 | |
|---|
| 4421 | La operación rango de sucesores o cRange se basa en la anterior cSucc y |
|---|
| 4422 | se define como la unión de sucesores consecutivos en un rango de números |
|---|
| 4423 | enteros |
|---|
| 4424 | \layout Standard |
|---|
| 4425 | \align center |
|---|
| 4426 | |
|---|
| 4427 | \begin_inset Formula \begin{equation} |
|---|
| 4428 | \begin{array}{l} |
|---|
| 4429 | Ct+\left[n,m\right]\times F=cRangeInCT(Ct,\, n,\, m,\, F)\,=\,\cup_{j=n}^{m}\left(Ct+j\times F\right)\;\forall n\leq\, m\in\mathbb{Z}\\ |
|---|
| 4430 | Ct+\left[n,m\right]\times F\,=\,\left\{ it\in F|\exists j=n\ldots m,it'\in Ct\wedge it=it'+j\times F\right\} \end{array}\end{equation} |
|---|
| 4431 | |
|---|
| 4432 | \end_inset |
|---|
| 4433 | |
|---|
| 4434 | |
|---|
| 4435 | \layout Standard |
|---|
| 4436 | \align center |
|---|
| 4437 | La granularidad del conjunto cRange es la mínima de las granularidades de |
|---|
| 4438 | |
|---|
| 4439 | \begin_inset Formula $Ct$ |
|---|
| 4440 | \end_inset |
|---|
| 4441 | |
|---|
| 4442 | y |
|---|
| 4443 | \begin_inset Formula $F$ |
|---|
| 4444 | \end_inset |
|---|
| 4445 | |
|---|
| 4446 | . |
|---|
| 4447 | \layout Standard |
|---|
| 4448 | \align center |
|---|
| 4449 | |
|---|
| 4450 | \begin_inset Formula \begin{equation} |
|---|
| 4451 | granul\left(cRangeInCT\left(Ct,n,F\right)\right)=\min\left\{ granul\left(Ct\right),\: granul\left(F\right)\right\} \end{equation} |
|---|
| 4452 | |
|---|
| 4453 | \end_inset |
|---|
| 4454 | |
|---|
| 4455 | |
|---|
| 4456 | \layout Standard |
|---|
| 4457 | |
|---|
| 4458 | Para no repetir los cálculos es conveniente implementar los métodos de pertenenc |
|---|
| 4459 | ia y sucesión de forma explícita en lugar de recurrir a la suma de los cSucc. |
|---|
| 4460 | De esta forma se reaprovechan los cálculos de los sucesores consecutivos |
|---|
| 4461 | de forma recursiva |
|---|
| 4462 | \layout Standard |
|---|
| 4463 | |
|---|
| 4464 | |
|---|
| 4465 | \begin_inset Formula \begin{equation} |
|---|
| 4466 | it'_{j}=it\pm j\times F=it'_{j-1}\pm F\end{equation} |
|---|
| 4467 | |
|---|
| 4468 | \end_inset |
|---|
| 4469 | |
|---|
| 4470 | |
|---|
| 4471 | \layout Standard |
|---|
| 4472 | |
|---|
| 4473 | Como los |
|---|
| 4474 | \begin_inset Formula $Ct+n\times F$ |
|---|
| 4475 | \end_inset |
|---|
| 4476 | |
|---|
| 4477 | se calculan de forma diferente según sea |
|---|
| 4478 | \begin_inset Formula $n$ |
|---|
| 4479 | \end_inset |
|---|
| 4480 | |
|---|
| 4481 | positiva, negativa o nula puede ser necesario separar |
|---|
| 4482 | \begin_inset Formula $Ct+\left[n,m\right]\times F$ |
|---|
| 4483 | \end_inset |
|---|
| 4484 | |
|---|
| 4485 | de forma que se tengan bloques de rangos |
|---|
| 4486 | \begin_inset Formula $Ct+\left[n',m'\right]\times F$ |
|---|
| 4487 | \end_inset |
|---|
| 4488 | |
|---|
| 4489 | todos positivos o todos negativos. |
|---|
| 4490 | \layout Standard |
|---|
| 4491 | |
|---|
| 4492 | El coste operacional de evaluar |
|---|
| 4493 | \begin_inset Formula $it\in RS=Ct+\left[n,m\right]\times F$ |
|---|
| 4494 | \end_inset |
|---|
| 4495 | |
|---|
| 4496 | será |
|---|
| 4497 | \layout Standard |
|---|
| 4498 | |
|---|
| 4499 | |
|---|
| 4500 | \begin_inset Formula \begin{equation} |
|---|
| 4501 | C\left(\in RS\right)\leq C\left(\in F\right)+L\cdot C\left(\in Ct\right)+C\left(\pm Ct\right)+C\left(\pm\left(M+1\right)\times F\right)\end{equation} |
|---|
| 4502 | |
|---|
| 4503 | \end_inset |
|---|
| 4504 | |
|---|
| 4505 | |
|---|
| 4506 | \layout Standard |
|---|
| 4507 | |
|---|
| 4508 | donde |
|---|
| 4509 | \begin_inset Formula $L=m-n+1$ |
|---|
| 4510 | \end_inset |
|---|
| 4511 | |
|---|
| 4512 | es la longitud del rango y |
|---|
| 4513 | \begin_inset Formula $M=\left\{ \left|m\right|+\left|n\right|\; si\: m\cdot n\leq0,\left|m-n\right|\; si\: m\cdot n=0\right\} $ |
|---|
| 4514 | \end_inset |
|---|
| 4515 | |
|---|
| 4516 | |
|---|
| 4517 | \layout Standard |
|---|
| 4518 | |
|---|
| 4519 | El coste operacional de evaluar |
|---|
| 4520 | \begin_inset Formula $it+RS$ |
|---|
| 4521 | \end_inset |
|---|
| 4522 | |
|---|
| 4523 | será |
|---|
| 4524 | \layout Standard |
|---|
| 4525 | |
|---|
| 4526 | |
|---|
| 4527 | \begin_inset Formula \begin{equation} |
|---|
| 4528 | C\left(\pm RS\right)\leq C\left(\in F\right)+\left(L+1\right)\cdot C\left(\in Ct\right)+C\left(\pm Ct\right)+C\left(\pm\left(2\cdot M+1\right)\times F\right)\end{equation} |
|---|
| 4529 | |
|---|
| 4530 | \end_inset |
|---|
| 4531 | |
|---|
| 4532 | |
|---|
| 4533 | \layout Standard |
|---|
| 4534 | |
|---|
| 4535 | El coste operacional de evaluar |
|---|
| 4536 | \begin_inset Formula $it+h\times RS$ |
|---|
| 4537 | \end_inset |
|---|
| 4538 | |
|---|
| 4539 | será |
|---|
| 4540 | \layout Standard |
|---|
| 4541 | |
|---|
| 4542 | |
|---|
| 4543 | \begin_inset Formula \begin{equation} |
|---|
| 4544 | Cost\left(\times RS\right)\leq Cost\left(\in F\right)+\left(L+1\right)\cdot Cost\left(\in Ct\right)+Cost\left(\pm Ct\right)+Cost\left(\pm\left(2\cdot M+h\right)\times F\right)\end{equation} |
|---|
| 4545 | |
|---|
| 4546 | \end_inset |
|---|
| 4547 | |
|---|
| 4548 | |
|---|
| 4549 | \layout Subsubsection |
|---|
| 4550 | |
|---|
| 4551 | Operación cPeriodic |
|---|
| 4552 | \layout Standard |
|---|
| 4553 | |
|---|
| 4554 | La operación cPeriodic devuelve todos los IT cuya distancia en un fechado |
|---|
| 4555 | |
|---|
| 4556 | \begin_inset Formula $F$ |
|---|
| 4557 | \end_inset |
|---|
| 4558 | |
|---|
| 4559 | a un |
|---|
| 4560 | \begin_inset Formula $\mathcal{I}\left(k,g\right)$ |
|---|
| 4561 | \end_inset |
|---|
| 4562 | |
|---|
| 4563 | fijo sea múltiplo de una periodicidad |
|---|
| 4564 | \begin_inset Formula $p$ |
|---|
| 4565 | \end_inset |
|---|
| 4566 | |
|---|
| 4567 | . |
|---|
| 4568 | \layout Standard |
|---|
| 4569 | \align center |
|---|
| 4570 | |
|---|
| 4571 | \begin_inset Formula \begin{equation} |
|---|
| 4572 | cPeriodicSucc(\mathcal{I}\left(k,g\right),\, p,\, F)\,=\,\left\{ it'\in F|\exists n\in\mathbb{Z}\:\bot\: it'=\mathcal{I}\left(k,g\right)+\left(p\cdot n\right)\times F\right\} \end{equation} |
|---|
| 4573 | |
|---|
| 4574 | \end_inset |
|---|
| 4575 | |
|---|
| 4576 | |
|---|
| 4577 | \layout Standard |
|---|
| 4578 | |
|---|
| 4579 | Su granularidad es la mínima de las de |
|---|
| 4580 | \begin_inset Formula $it$ |
|---|
| 4581 | \end_inset |
|---|
| 4582 | |
|---|
| 4583 | y |
|---|
| 4584 | \begin_inset Formula $F$ |
|---|
| 4585 | \end_inset |
|---|
| 4586 | |
|---|
| 4587 | |
|---|
| 4588 | \begin_inset Formula \begin{equation} |
|---|
| 4589 | cPeriodicSucc(it,\, p,\, F)=\min\left\{ granul\left(it\right),\: granul\left(F\right)\right\} \end{equation} |
|---|
| 4590 | |
|---|
| 4591 | \end_inset |
|---|
| 4592 | |
|---|
| 4593 | |
|---|
| 4594 | \layout Subsection |
|---|
| 4595 | |
|---|
| 4596 | Operadores de Auto-Traslación |
|---|
| 4597 | \layout Standard |
|---|
| 4598 | |
|---|
| 4599 | Los operadores de auto-traslación de conjuntos construyen un CT basándose |
|---|
| 4600 | en desplazar todos sus IT's maximales en su propia granularidad. |
|---|
| 4601 | \layout Subsubsection |
|---|
| 4602 | |
|---|
| 4603 | Operación cSelfSucc |
|---|
| 4604 | \layout Standard |
|---|
| 4605 | |
|---|
| 4606 | Se define el conjunto |
|---|
| 4607 | \begin_inset Formula $n$ |
|---|
| 4608 | \end_inset |
|---|
| 4609 | |
|---|
| 4610 | -autosucesor de un conjunto |
|---|
| 4611 | \begin_inset Formula $Ct$ |
|---|
| 4612 | \end_inset |
|---|
| 4613 | |
|---|
| 4614 | , al que llamaremos conjunto de origen del desplazamiento, como el conjunto |
|---|
| 4615 | temporal generado por la sucesión disjunta resultante de desplazar los |
|---|
| 4616 | IT's maximales de |
|---|
| 4617 | \begin_inset Formula $Ct$ |
|---|
| 4618 | \end_inset |
|---|
| 4619 | |
|---|
| 4620 | , un total de |
|---|
| 4621 | \begin_inset Formula $n$ |
|---|
| 4622 | \end_inset |
|---|
| 4623 | |
|---|
| 4624 | veces cada IT maximal en su propia granularidad. |
|---|
| 4625 | |
|---|
| 4626 | \begin_inset Formula \begin{equation} |
|---|
| 4627 | cSelfSucc\left(Ct,n\right)=Ct+n=\left\{ \mathcal{I}\left(k,g\right)\in\mathfrak{C}_{6}|\mathcal{I}\left(k-n,g\right)\in Ct\right\} \end{equation} |
|---|
| 4628 | |
|---|
| 4629 | \end_inset |
|---|
| 4630 | |
|---|
| 4631 | La granularidad del conjunto |
|---|
| 4632 | \begin_inset Formula $n$ |
|---|
| 4633 | \end_inset |
|---|
| 4634 | |
|---|
| 4635 | -desplazado es obviamente la misma que la de |
|---|
| 4636 | \begin_inset Formula $Ct$ |
|---|
| 4637 | \end_inset |
|---|
| 4638 | |
|---|
| 4639 | . |
|---|
| 4640 | \begin_inset Formula \begin{equation} |
|---|
| 4641 | granul\left(cSelfSucc\left(Ct,n\right)\right)=granul\left(Ct\right)\end{equation} |
|---|
| 4642 | |
|---|
| 4643 | \end_inset |
|---|
| 4644 | |
|---|
| 4645 | |
|---|
| 4646 | \layout Subsubsection |
|---|
| 4647 | |
|---|
| 4648 | Operación cSelfRange |
|---|
| 4649 | \layout Standard |
|---|
| 4650 | |
|---|
| 4651 | La operación rango de desplazamientos o cRangeMove se basa en la anterior |
|---|
| 4652 | cMove y se define como la unión de desplazamientos consecutivos en un rango |
|---|
| 4653 | de números enteros |
|---|
| 4654 | \layout Standard |
|---|
| 4655 | \align center |
|---|
| 4656 | |
|---|
| 4657 | \begin_inset Formula \begin{equation} |
|---|
| 4658 | \begin{array}{l} |
|---|
| 4659 | cRangeMove(Ct,\, n,\, m)\,=\,\bigcup_{k=n}^{m}Ct+k\;\forall n,\, m\in\mathbb{Z}\\ |
|---|
| 4660 | cRangeMove(Ct,\, n,\, m)\,=\,\left\{ \mathcal{I}\left(k,g\right)\in\mathfrak{C}_{6}|\exists j=n...m\bot\mathcal{I}\left(k-j,g\right)\in Ct\right\} \end{array}\end{equation} |
|---|
| 4661 | |
|---|
| 4662 | \end_inset |
|---|
| 4663 | |
|---|
| 4664 | |
|---|
| 4665 | \layout Standard |
|---|
| 4666 | \align center |
|---|
| 4667 | La granularidad del conjunto cRange es evidentemente la de |
|---|
| 4668 | \begin_inset Formula $Ct$ |
|---|
| 4669 | \end_inset |
|---|
| 4670 | |
|---|
| 4671 | . |
|---|
| 4672 | \begin_inset Formula \begin{equation} |
|---|
| 4673 | granul\left(cMove\left(Ct,n\right)\right)=granul\left(Ct\right)\end{equation} |
|---|
| 4674 | |
|---|
| 4675 | \end_inset |
|---|
| 4676 | |
|---|
| 4677 | |
|---|
| 4678 | \layout Subsection |
|---|
| 4679 | |
|---|
| 4680 | Operadores de Desplazamiento Granular |
|---|
| 4681 | \layout Standard |
|---|
| 4682 | |
|---|
| 4683 | Los operadores de desplazamineto de conjuntos construyen un CT basándose |
|---|
| 4684 | en desplazar todos sus IT's un número de unidades en una granularidad dada. |
|---|
| 4685 | \layout Subsubsection |
|---|
| 4686 | |
|---|
| 4687 | Operación cSuccInG |
|---|
| 4688 | \layout Subsubsection |
|---|
| 4689 | |
|---|
| 4690 | Operación cRangeInC |
|---|
| 4691 | \the_end |
|---|