AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
flow "Junction" v1.0
# Kireth Research Semantic Library — Transportation Engineering Entities
# Original semantic Flow Algebra representation; not a verified page extraction.
IDENTITY:
name: "Junction"
class: "EngineeringEntity > TransportationEngineeringEntity > TransportNetworkNode > Junction"
domain: [transportation_engineering, road_networks, rail_networks, traffic_operations, safety]
definition: "A physical or operational location where two or more transport paths meet, diverge, merge, cross or exchange movements."
distinction: "A junction is a network connection; an intersection is one common road-junction form. Grade-separated junctions may have no at-grade crossing."
AUTHORS:
primary: "Mark Higgins — Kireth Research"
collaborator: "Sky — Recursive AI"
licence: "Kireth Open Research Licence; free reuse with citation required"
SOURCE:
ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/transportation-engineering-entities/junction-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/transportation-engineering-entities/junction-ontology.html"
source_status: "User-provided URL; original constructed representation, not verified extraction"
PURPOSE:
objective: "Represent junction geometry, permitted movements, control, capacity, conflicts, operational states and safety constraints in an auditable entity graph."
applications: [network_mapping, routing, traffic_modelling, design_review, maintenance, incident_response, accessibility_assessment]
exclusion: "Not a substitute for site-specific engineering design, statutory traffic orders or safety approval."
STATE_MODEL:
S = (I, R, B, K)
I: "Junction identity, configuration, approach flows, movements, controls, observations and operating state"
R: "Typed relations between links, lanes, movements, users, controllers, crossings and hazards"
B: "Geometry, permissions, physical constraints, legal controls, operating limits and safety boundaries"
K: "Surveyed geometry, traffic counts, signal plans, inspection records, regulations and provenance"
dynamic_state:
geometry_revision: "Versioned geometry and lane assignments"
control_state: [uncontrolled, priority_controlled, signal_controlled, roundabout_controlled, temporary_control, closed]
traffic_state: [free_flow, stable, near_capacity, oversaturated, blocked, incident]
condition_state: [serviceable, degraded, restricted, unsafe, under_maintenance]
observations: [flow_rate, turning_count, queue_length, delay, speed, occupancy, conflicts, incidents]
time_basis: "Timestamp, time zone and observation interval required for dynamic measurements"
ENTITIES:
junction:
attributes: [junction_id, location, mode, junction_type, topology, geometry_version, owner, operator]
types:
road: [three_arm_T, staggered, crossroads, roundabout, mini_roundabout, signalised, priority, grade_separated, interchange]
rail: [turnout, crossover, diamond_crossing, junction_complex]
multimodal: [road_rail_crossing, transit_interchange, cycle_crossing]
caution: "Type does not alone determine priority, permitted turns or conflict protection."
approach:
attributes: [approach_id, inbound_link, heading, lane_count, approach_grade, speed_limit, visibility]
exit:
attributes: [exit_id, outbound_link, receiving_capacity, downstream_storage]
lane:
attributes: [lane_id, width, designation, markings, permitted_movement_ids, operational_status]
movement:
attributes: [movement_id, source_lane, destination_lane, mode, direction, permitted, priority, control_phase]
direction: [left_turn, right_turn, straight_ahead, U_turn, merge, diverge, cross]
conflict_point:
attributes: [conflict_id, movement_pair, conflict_type, protection, exposure]
conflict_type: [crossing, merging, diverging, pedestrian_vehicle, cycle_vehicle]
traffic_control:
types: [traffic_sign, road_marking, traffic_signal, priority_rule, barrier, variable_message_sign]
attributes: [control_id, controlling_authority, applicable_movements, active_schedule, fail_state]
pedestrian_and_cycle_facility:
types: [footway, refuge, dropped_kerb, tactile_paving, cycle_track, crossing]
attributes: [facility_id, accessibility_features, crossing_control, continuity]
physical_asset:
types: [island, kerb, median, drainage, lighting, detector, signal_head, gantry, barrier]
attributes: [asset_id, condition, inspection_date, maintenance_responsibility]
observation:
attributes: [sensor_id, timestamp, interval, measurement, unit, quality_flag, source]
event:
types: [collision, near_miss, signal_fault, flooding, roadworks, obstruction, emergency_closure]
attributes: [event_id, location, severity, start_time, affected_movements, response]
RELATIONS:
- "Junction connects TransportLinks"
- "Junction contains Approaches, Exits, Lanes, Movements and ControlAssets"
- "Approach receives flow from TransportLink"
- "Exit discharges flow to TransportLink"
- "Lane permits zero or more Movements subject to valid restrictions"
- "Movement links source lane to receiving lane or link"
- "Movement conflicts_with Movement where trajectories or safety envelopes intersect"
- "TrafficControl governs Movement and applies over a defined time interval"
- "Crossing traverses or adjoins a Junction and interacts with conflicting movements"
- "Detector observes flow, occupancy or demand at an approach or movement"
- "Incident restricts Junction, Lane, Movement or Approach"
- "Junction belongs_to TransportNetwork and has_operator Organisation"
PATHWAYS:
topology_resolution:
input: [surveyed_links, lane_graph, junction_geometry]
process: "Build directed graph; connect inbound and outbound links through explicit movements."
output: [topology_graph, movement_graph, connectivity_validation]
movement_permission:
input: [vehicle_class, movement, time, legal_restrictions, temporary_controls]
process: "Evaluate direction, class, temporal restrictions and current closures."
output: [permitted, prohibited, uncertain]
conflict_analysis:
input: [movement_paths, user_types, priority, signal_phases]
process: "Identify geometrical conflicts and assess protection; do not infer safety from geometry alone."
output: [conflict_graph, unresolved_conflicts, review_flags]
capacity_assessment:
input: [arrival_flows, turning_proportions, saturation_flows, green_time, opposing_flows, geometry]
process: "Apply a documented method suited to the junction type and local calibration."
output: [capacity_estimate, degree_of_saturation, queues, delay, uncertainty]
safety_assessment:
input: [crash_history, speeds, sight_distance, vulnerable_users, geometry, control]
process: "Identify hazards and record required engineering assessment."
output: [hazard_register, mitigations, residual_risk, approval_status]
disruption_response:
input: [incident, restrictions, upstream_flows, alternate_routes]
process: "Update affected movements and recalculate feasible routes without overriding safety controls."
output: [restricted_network, diversion_candidates, operator_alert]
CONSTRAINTS:
- "All movement connections must preserve the directed topology of the network."
- "A prohibited movement cannot become routable solely because geometric space exists."
- "Movement capacity must not exceed the verified downstream receiving capacity."
- "Signal conflicts must be assessed against actual intergreen, clearance and stage design."
- "Pedestrian, cyclist and mobility-aid access must be modelled explicitly where relevant."
- "A closure or safety-critical fault overrides optimisation objectives."
- "Missing or stale legal restrictions produce an uncertain status, not assumed permission."
- "Use measured or calibrated saturation flows; no universal capacity constant is assumed."
- "Road and rail junction operating rules are not interchangeable."
- "Geometry, controller plans and temporary orders require independent version tracking."
MINI_RECURSION_ENGINE:
state: "S_t = (I_t, R_t, B_t, K_t)"
expand: "E_t = expand(I_t, R_t)"
validate: "V_t = {x in E_t | satisfies(x, B_t) and evidence_supported(x, K_t)}"
select: "x_star = argmax_x P(x | I_t, R_t, B_t, K_t), x in V_t"
update: "I_(t+1) = incorporate(I_t, x_star, validated_observations, provenance)"
stop_conditions: [unresolved_safety_conflict, missing_authoritative_control, stale_critical_data, no_feasible_safe_action]
audit: "Retain evidence, assumptions, rejected alternatives and rule versions."
INFERENCE_RULES:
R01: "IF two directed links meet THEN candidate_junction exists; verify connectivity and grade."
R02: "IF links cross at different elevations with no connector THEN no turning movement is inferred."
R03: "IF lane marking or legal order prohibits turn THEN movement.permitted = false."
R04: "IF temporary closure covers movement and time THEN movement.status = closed."
R05: "IF a receiving lane is blocked THEN affected movements require restriction or rerouting."
R06: "IF two movement trajectories overlap in time and space THEN register potential conflict."
R07: "IF signal plans permit conflicting movements without validated separation THEN flag safety-critical review."
R08: "IF demand approaches calibrated capacity THEN queue and delay risk increases, conditional on arrival pattern."
R09: "IF demand exceeds sustainable capacity THEN classify potential oversaturation and test spillback."
R10: "IF downstream queue extends into the junction THEN upstream movement capacity may be reduced."
R11: "IF pedestrian crossing conflicts with turning traffic THEN check protection and priority arrangements."
R12: "IF visibility is inadequate for applicable design conditions THEN flag hazard for site-specific assessment."
R13: "IF traffic signals fail THEN apply verified fail-safe control plan; never invent fallback priority."
R14: "IF geometric revision changes lane count THEN invalidate dependent movement and capacity calculations."
R15: "IF sensor data is stale or implausible THEN downgrade confidence and request validation."
R16: "IF collision or near-miss cluster is detected THEN trigger investigation; do not infer causation automatically."
R17: "IF junction is grade-separated THEN identify merge/diverge and ramp terminals independently."
R18: "IF emergency access or accessible crossing is obstructed THEN flag operational safety and accessibility review."
CONFIDENCE:
evidence_levels:
high: "Current authoritative surveys, approved control plans and validated measurements"
medium: "Recent secondary records or calibrated models with documented assumptions"
low: "Unverified geometry, inferred permissions or incomplete observations"
uncertainty_sources: [turning_counts, temporal_variation, signal_timing, geometry, sensor_error, behaviour, incident_conditions]
policy: "Never translate confidence into a claim of regulatory compliance or safety certification."
SEMANTIC_EQUIVALENCE:
preferred_term: "Junction"
close_terms: [road_junction, transport_junction, network_node, interchange, intersection]
non_equivalences:
- "Intersection is narrower than junction in some transport contexts."
- "A roundabout is a junction configuration, not a synonym for every junction."
- "A railway turnout is not a road intersection."
- "A crossing may be a junction-related conflict facility without providing route interchange."
VALIDATION:
checks:
- "Every movement has a valid source and destination."
- "Every time-dependent permission has a defined effective interval."
- "Every capacity estimate declares method, units and calibration basis."
- "Every dynamic observation includes timestamp and provenance."
- "Every safety-critical decision identifies authoritative review status."
- "No graph edge bypasses an explicit closure or prohibition."
FLOW_HASH:
method: "SHA-256 of canonical UTF-8 flow content excluding the FLOW_HASH value"
value: "COMPUTE_ON_PUBLICATION"
UPDATE_MODEL:
triggers: [new_survey, new_traffic_order, signal_plan_change, roadworks, incident, asset_replacement, network_reconfiguration]
actions: [version_graph, reconcile_constraints, revalidate_movements, recompute_dependencies, preserve_audit_trail]
governance: "Engineering and statutory decisions remain with authorised professionals and operators."
publication: "Publish dated revisions with citation backlink and provenance."
END_FLOW