| Setting | Value |
|---|---|
| Training points | |
| Noise σ | |
| Random seed |
The random seed is included in the HTML version so the training example is reproducible.
| FEATURE | LEARNED WEIGHT |
|---|
Learned weights need not equal generating coefficients because the representation omits x⁴ and y⁴. High confidence in the estimated parameters does not necessarily imply an accurate representation of the environment.
| ID | Split | x | y | True z | Noise | Observed z | Prediction error | Trace of covariance P | w(1) | w(x) | w(y) | w(x²) | w(x·y) | w(y²) | w(x³) | w(x²·y) | w(x·y²) |
|---|
| ROUTE PROMPT | X | Y |
|---|---|---|
| START | ||
| END | ||
| DOMAIN RESOLUTION | ||
Unchecked = weights generated by the Training section. Checked = frozen example/book weights.
| Weight source | ||
| FEATURE | ACTIVE WEIGHT | GENERATED | BOOK WEIGHTS |
|---|
| Number of hops | — |
| Total route cost | — |
| Destination reached | — |
| Hop | X | Y | Z | Choices |
|---|
| Domain Resolution | — |
| Weight Source | — |
| Number of Hops | — |
| Destination Reached | — |
Inspect terrain height: Click anywhere inside the terrain plot to display the height (Z) at that point.
Visualization is a display utility only. It does not participate in training, candidate evaluation, route selection, or the generation loop.
For convenience, RE-GEN NOISE is also available here when LOW RESOLUTION uses GENERATED WEIGHTS. It retrains TIM with a fresh noise realization and regenerates the route.
The Training page demonstrates how observations from an environment can be compressed into a small domain characterization. TIM uses Recursive Least Squares (RLS) to estimate nine weights sequentially from noisy observations of the Himmelblau surface.
Training points x and y are sampled from the domain −5 ≤ x ≤ 5 and −5 ≤ y ≤ 5. The true value is calculated from the Himmelblau function and Gaussian noise is added to create the observed value used for training.
| Setting | Meaning |
|---|---|
| Training points | Number of sequential observations supplied to RLS. |
| Noise σ | Standard deviation of the Gaussian observation noise. |
| Random seed | Makes the generated training sample and noise reproducible. RE-GEN NOISE advances the seed and performs a new learning run. |
Each observation is encoded using nine features:
The x⁴ and y⁴ terms present in the true Himmelblau surface are deliberately omitted. The learned surface is therefore a compressed approximation rather than an exact representation of the environment.
Weights begin at zero and the covariance matrix P begins with very high diagonal values. For each observation TIM calculates a prediction, observes the prediction error, and updates both the nine weights and P. The trace of P is the sum of its diagonal elements and provides a compact measure of total parameter uncertainty.
Important: declining parameter uncertainty does not by itself imply that the chosen nine-term representation is an accurate description of the environment.
The trace table exposes the sequential process: observation number, sampled coordinates, true z, noise, observed z, prediction error, trace of covariance P, and all nine weights after each update. The final learned weights are passed directly to the Inference page as the GENERATED WEIGHTS option.
The Inference page uses a domain characterization plus a prompt and a deterministic generation loop to construct a route from START to END. The learned parameters are frozen during inference; inference does not retrain the domain characterization.
| Input | Meaning |
|---|---|
| START | Initial x,y state of the route. |
| END | Destination and stopping target. |
| DOMAIN RESOLUTION | LOW RESOLUTION uses a nine-weight polynomial. HIGH RESOLUTION uses the actual Himmelblau function directly. |
In LOW RESOLUTION mode, GENERATED WEIGHTS uses the current output of the Training page; BOOK WEIGHTS uses the fixed example weights embedded in TIM. In HIGH RESOLUTION mode the learned weights are bypassed and the actual Himmelblau function is used.
Ordinary hop length is 1. After the first movement, course change must be strictly greater than 15°. A candidate within 0.25 of any previously visited route point is unavailable. These restrictions give the generation loop memory of the route already taken without changing the frozen domain characterization.
| Column | Meaning |
|---|---|
| Hop | Sequential route state; 0 is the start. |
| X, Y | Coordinates of the visited state. |
| Z | Domain-characterization value at that state. |
| Heading | Direction of movement from the previous state. |
| Norm Uphill | Selected candidate's normalized uphill cost within the candidate set for that hop. |
| Norm Distance | Selected candidate's normalized remaining-distance cost within that candidate set. |
| Score | Norm Uphill + Norm Distance for the selected candidate. |
| Cumulative Decision Score | Running sum of selected local scores. |
| Distance | Euclidean distance from the current state to END. |
The LLM Prompt Generator converts the current TIM inference configuration into a complete natural-language specification that can be copied to a general-purpose LLM. This permits the same numerical task to be executed independently outside TIM.
The generator inherits five items from the current Inference configuration: Start, Destination, Domain Resolution, Weight Source, and Domain Characterization. Changing the Inference settings therefore changes the generated prompt.
The prompt contains the selected domain characterization, start and destination, candidate-generation rules, heading and route-history restrictions, domain-boundary treatment, uphill and distance calculations, normalization, local scoring, tie handling, stopping rules, numerical precision requirements, and the required result columns.
The purpose is reproducibility rather than conversational brevity. The prompt is intentionally detailed so that the external LLM is asked to perform the same defined inference procedure rather than infer missing rules or substitute a different routing method.
Select COPY PROMPT and submit the copied text to an LLM with numerical code execution available. The requested Markdown route table can then be compared with TIM's own deterministic route table. Agreement provides a direct comparison of the results produced from the same domain characterization, prompt constraints, and generation procedure.