Mars Interfaces API Reference

website·Indexed 32 days ago

https://www.mars-group.org

Technical documentation for the Mars.Interfaces.dll assembly, providing core interfaces and classes for spatial graph environments, raster-based layers, multimodal routing, and simulation output configurations. It includes namespaces for Environments, Layers, Model, and Data, covering entities such as IEnvironment<TEntity>, ISpatialGraphEnvironment, and IDataContainer.

Tokens
379.6K
Snippets
3.3K
Records
4.1K
Agent score
64%

What's inside Mars Interfaces

  1. Overview of GeoHashEnvironment<T>

    The GeoHashEnvironment<T> class provides a geo-based environment using a Coordinate Reference System (CRS) projected to EPSG:4326 (WGS:84). It implements a spatial index that supports inserting, removing, moving (updating), and querying entities within a specified area. To be used within this environment, the entity type T must implement both IPositionable and IEntity interfaces.
    public class GeoHashEnvironment<T> : GeoEnvironment, IGeoGridEnvironment<T>, IEnvironment<T>, IEnvironment, IModelObject where T : IPositionable, IEntity
  2. Overview of CsvReader

    The CsvReader class (located in the Mars.Common.IO.Csv namespace within the Mars.IO.dll assembly) provides fast, non-cached, forward-only access to CSV data. It implements IDataReader, IDataRecord, IDisposable, and IEnumerable<string[]>, making it compatible with standard .NET data processing patterns.
  3. Overview of SmartOpenHamburg Agent Types

    SmartOpenHamburg uses agents to map mobility behavior. The system provides several pre-defined agent types that can be reused or extended via new classes. Available agent types include:

    • MultiCapableAgent
    • MultimodalAgent
    • Pedestrian
    • Citizen
    • Traveler
    • Driver
    • Cyclist
    • FerryDriver
    • DockWorker
  4. Overview of the IWrapper interface

    The IWrapper interface, located in the Mars.Core.Data.Wrapper namespace within the Mars.Core.dll assembly, defines the essential input/output functions required by database connectors. It extends IDisposable, meaning implementations must handle resource cleanup via the Dispose() method.
    public interface IWrapper : IDisposable
  5. Overview of MARS Group research and project topics

    The MARS Group provides opportunities for Bachelor's and Master's theses and semester projects. Primary research areas include Multi-Agent Systems (cooperation, MA(D)RL), Agentic AI, Agent-based modeling and simulation, Digital Twins, LLMs and prompt engineering, and Environmental/Geoinformatics. Application domains include smart cities, logistics, infectious disease spread, climate change, wildlife reserves, and drone swarm coordination.
  6. Overview of Mars.Common.PositionHelper

    The PositionHelper class is a static utility class located in the Mars.Common namespace (Assembly: Mars.Common.dll). It provides a collection of helper methods for coordinate and position-related tasks, such as computing new positions from a source using direction and distance, calculating distances between coordinates, and retrieving directions from radian yaw bearings.
    public static class PositionHelper
  7. Overview of IModelContainer

    The IModelContainer interface (located in Mars.Core.dll, namespace Mars.Core.Model) is responsible for managing all model descriptions and simulation configurations. It allows developers to retrieve static information about the model, such as constructors and public properties, and to register the core components of the simulation (agents, entities, and layers). It implements IDisposable.
    public interface IModelContainer : IDisposable
  8. Overview of the DoubleBits class

    The DoubleBits class is used to manipulate Double numbers via bit manipulation and bit-field extraction. This approach is specifically designed for operations like determining the exponent, where it is more accurate than standard mathematical operations that are prone to round-off errors. The class is strictly compatible with the IEEE-754 double-precision floating point format.