Class ArchitecturalModel

java.lang.Object
org.episteme.social.architecture.ArchitecturalModel
All Implemented Interfaces:
Serializable, UniversalDataModel

public final class ArchitecturalModel extends Object implements UniversalDataModel, Serializable
Universal data model for architectural constraints and simulations. It provides a structured way to store rays (for visibility or acoustics) and vector fields (for structural loads or ventilation).
Since:
1.0
Version:
2.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • ArchitecturalModel

      public ArchitecturalModel()
  • Method Details

    • getModelType

      public String getModelType()
      Description copied from interface: UniversalDataModel
      Returns a unique identifier for the type of data model. Examples: "SPATIAL_GEOMETRY", "ECONOMIC_PORTFOLIO", "ARCHITECTURAL_PLAN".
      Specified by:
      getModelType in interface UniversalDataModel
    • addRay

      public void addRay(Real x1, Real y1, Real x2, Real y2, String type)
      Adds a ray to the architectural model.
      Parameters:
      x1 - start x
      y1 - start y
      x2 - end x
      y2 - end y
      type - semantic type of the ray
    • addLoadPath

      public void addLoadPath(Real x, Real y, Real dx, Real dy, Real magnitude)
      Adds a vector field point to the model.
      Parameters:
      x - point x
      y - point y
      dx - direction x
      dy - direction y
      magnitude - force or velocity magnitude
    • getRays

      public List<ArchitecturalModel.Ray> getRays()
    • getLoadPaths

      public List<ArchitecturalModel.VectorField> getLoadPaths()
    • getMetadata

      public Map<String,Object> getMetadata()
      Description copied from interface: UniversalDataModel
      Returns a map of metadata for this model (e.g., creation date, source).
      Specified by:
      getMetadata in interface UniversalDataModel
    • getQuantities

      public Map<String, Quantity<?>> getQuantities()
      Description copied from interface: UniversalDataModel
      Returns the primary physical values associated with this model. This allows generic tools to extract and convert measurements.
      Specified by:
      getQuantities in interface UniversalDataModel