• MARS Website
  • Core API
  • SmartOpenHamburg API
  • Model Components API
  • Common API
Show / Hide Table of Contents
  • Mars.Components
    • DependencyRegistrationModelling
  • Mars.Components.Agents
    • AbstractAgent
    • AbstractEntity
    • Agent
  • Mars.Components.Environments
    • AbstractEnvironment
    • AbstractGraphElement
    • AlwaysPassingNodeGuard
    • EntityLane<TEntity>
    • GeoEnvironment
    • GeoHashEnvironment<T>
    • IEnvironmentMediator
    • IModalChoiceResolver
    • PathHeuristics
    • SpatialEdge
    • SpatialGraphEntityExtensions
    • SpatialGraphEnvironment
    • SpatialGraphHelper
    • SpatialHashEnvironment<TEntity>
    • SpatialLane
    • SpatialNode
    • WorldIndexExtensions
  • Mars.Components.Environments.Cartesian
    • CartesianEnvironment<TEntity>
    • CollisionEnvironment<TCharacter, TObstacle>
    • CollisionKind
    • ConeExplorationView
    • ExplorationView
    • GeometryFactory
    • ICartesianEnvironment<TEntity>
    • ICharacter
    • ICollidable
    • ICollisionEnvironment<TCharacter, TObstacle>
    • IObstacle
    • IVisible
    • RayExplorationView
    • TrapezoidExploration
    • VisibilityKind
  • Mars.Components.Environments.Cartesian.Routing
    • CartesianRoutingService<TObstacle>
    • GeometryCoordinatesRoutingPointsGenerator
    • HomogenousRoutingPointsGenerator
    • IRoutingPointsGenerator
    • RandomRoutingPointsGenerator
    • SectionalRandomRoutingPointsGenerator
  • Mars.Components.Layers
    • AbstractActiveLayer
    • AbstractEnvelopedLayer
    • AbstractLayer
    • AbstractVectorFeature
    • AgentSchedulerLayer<TAgent, TLayer>
    • QuerySourceLoader
    • RasterLayer
    • SchedulerEntry
    • SchedulerLayer
    • VectorFeature
    • VectorLayer
    • VectorLayer<T>
    • VectorLayerHelper
  • Mars.Components.Layers.Temporal
    • IQueryFieldProvider
    • ITemporalObjectCatalog
    • ITemporalObjectIterator
    • TemporalCatalogFeature<TKey>
    • TemporalFeatureKind
    • TemporalMetadataLoader
  • Mars.Components.Services
    • AgentManager
  • Mars.Components.Services.Explorations
    • BoltzmannExploration
    • EpsilonGreedyExploration
    • IExplorationPolicy
    • RouletteWheelExploration
    • TabuSearchExploration
  • Mars.Components.Services.Learning
    • InfiniteQLearning
    • QLearning
    • Sarsa
  • Mars.Components.Services.Planning
    • ActionPlanResult
    • GoapAction
    • GoapAgentStates
    • GoapGoal
    • GoapPlanner
    • GoapStateKey<T>
    • GoapStateProperty
    • GoapStateProperty<TElement>
    • IGoapAction
    • IGoapAgentStates
    • IGoapGoal
    • IGoapPlanner
    • IGoapStateKey
    • StatesCommons
  • Mars.Components.Services.Planning.ActionCommons
    • AllGoalsSatisfiedAction
    • NoGoalReachableAction
  • Mars.Components.Starter
    • Command
    • CommandArgumentContainer
    • CommandParser
    • CommandSet
    • HelpCommand
    • Option
    • OptionContext
    • OptionException
    • OptionSet
    • OptionValueCollection
    • OptionValueType
    • SimulationStarter
  • Mars.Components.Starter.Exceptions
    • SimulationStartupException
  • Mars.Interfaces
    • IModelObject
    • ISimulationContainer
    • ISimulationContext
    • ISimulationModule
    • ISimulationState
    • IStepExecutionContext
    • SimulationContext
    • SimulationContext.WorkflowStateType
    • StepExecutionContext
  • Mars.Interfaces.Agents
    • IAgent
    • IAgent<TLayer>
    • IEntity
    • IMarsDslAgent
    • IModalCapabilitiesAgent
    • ISpatialGraphEntity
    • ITickClient
  • Mars.Interfaces.Annotations
    • ActiveConstructor
    • PropertyDescription
  • Mars.Interfaces.Data
    • AbstractDomainData
    • GeometryData
    • IDomainData
    • IGeometryData
    • IIdentifiableData
    • IMarsFeature
    • IRasterBandData
    • ISource
    • IStringData
    • IStringStructuredData
    • IStructuredData
    • IStructuredDataGeometry
    • IValueData
    • LayerInitData
    • RasterBandData
    • StringDataDto
    • StructuredData
    • VectorStructuredData
  • Mars.Interfaces.Environments
    • BoundingBox
    • DirectionType
    • EdgeExploreResult
    • EdgeStop
    • ExploreDirection
    • GeoPositionExtension
    • HighwayType
    • IEdge<TEdge, TNode>
    • IEntityLane<TEntity>
    • IEnvironment
    • IEnvironment<TEntity>
    • IGeoGridEnvironment<T>
    • IGraphEntity
    • IGraphEnvironment<TEdge, TNode>
    • INode<TEdge, TNode>
    • INodeGuard
    • IPositionable
    • IRoutePlanner
    • ISpatialEdge
    • ISpatialGraphEnvironment
    • ISpatialLane
    • ISpatialNode
    • LaneExploreResult
    • ModalChoice
    • MultimodalRoute
    • NodeIntegrationKind
    • Position
    • Route
    • RouteStop
    • Size
    • SpatialGraphExploreResult
    • SpatialModalityType
    • TrafficLightPhase
  • Mars.Interfaces.Layers
    • FinallySimulationStep
    • IChangingLayer
    • IDataContainer
    • IDataLayer
    • IDataSet
    • IEnvelopDataLayer
    • ILayer
    • IMarsDslLayer
    • IModalChoiceConsumer
    • InitSimulationStep
    • INotifyChangedSource<T>
    • IRaster<TValue>
    • IRasterLayer
    • ISteppedActiveLayer
    • IVectorFeature
    • IVectorLayer
    • IVectorLayer<T>
    • IVectorNode<TEntity>
    • RegisterAgent
    • UnregisterAgent
  • Mars.Interfaces.Model
    • ActiveTypeMapping
    • AgentMapping
    • AgentType
    • ConstructorType
    • ContainsOperator
    • DataContainer
    • DataType
    • EntityMapping
    • EntityType
    • Execution
    • FeatureType
    • Globals
    • IdentifiableElement
    • IndividualMapping
    • Input
    • InputConfiguration
    • LayerMapping
    • LayerType
    • ModelDescription
    • ModelElement
    • ObjectType
    • Output
    • OutputConfiguration
    • OutputFilter
    • OutputKind
    • OutputTargetType
    • ParameterMapping
    • Processing
    • ProcessingConfiguration
    • ProcessingTargetType
    • PropertyType
    • SimulationConfig
    • TimeSpanUnit
    • TimeSpanUnitExtensions
    • TypeElement
    • TypeMapping
  • Mars.Interfaces.Model.Converters
    • CultureConverter
    • SerializationTypeConverter
    • TimeSpanUnitConverter
  • Mars.Interfaces.Model.Exceptions
    • InvalidTypeException
    • MissingTypeException
  • Mars.Interfaces.Model.Options
    • AbstractEndpointOptions
    • AbstractFileOptions
    • AbstractOptions
    • AscOptions
    • CsvOptions
    • GeoJsonOptions
    • MongoOptions
    • MqttOptions
    • PostgresSqlOptions
    • RedisOptions
    • RelationalEndpointOptions
    • SerializationType
    • SocketOutputOptions
    • SpatialGraphOptions
    • SqLiteOptions
    • TripsOptions

Class TypeElement

Represents a type description with inherited information about the properties, the constructor to create an instance of that type as well as their expected parameters with the parameter type
Inheritance
System.Object
IdentifiableElement
ModelElement
TypeElement
DataType
LayerType
ObjectType
Implements
System.IEquatable<TypeElement>
Inherited Members
ModelElement.ModelDescription
IdentifiableElement.Id
IdentifiableElement.Name
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Interfaces.Model
Assembly: Mars.Interfaces.dll
Syntax
public abstract class TypeElement : ModelElement, IEquatable<TypeElement>

Constructors

| Improve this Doc View Source

TypeElement(Type)

Represents a type description with inherited information about the properties, the constructor to create an instance of that type as well as their expected parameters with the parameter type
Declaration
protected TypeElement(Type metaType)
Parameters
Type Name Description
System.Type metaType

Properties

| Improve this Doc View Source

ActiveConstructor

The active constructor to create a new instance of this type
Declaration
[JsonIgnore]
public abstract ConstructorType ActiveConstructor { get; }
Property Value
Type Description
ConstructorType
| Improve this Doc View Source

Constructors

All available constructors of the type
Declaration
[JsonIgnore]
public IEnumerable<ConstructorType> Constructors { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ConstructorType>
| Improve this Doc View Source

DescribedProperties

Gets all properties of this type description which have an assigned PropertyDescription annotation.
Declaration
[JsonIgnore]
public List<PropertyType> DescribedProperties { get; }
Property Value
Type Description
System.Collections.Generic.List<PropertyType>
| Improve this Doc View Source

InputProperties

Gets all input properties of this type description which can be written and are public. PropertyDescription annotation.
Declaration
[JsonIgnore]
public List<PropertyType> InputProperties { get; }
Property Value
Type Description
System.Collections.Generic.List<PropertyType>
| Improve this Doc View Source

Interfaces

All implemented interfaces of the type
Declaration
[JsonIgnore]
public IEnumerable<Type> Interfaces { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Type>
| Improve this Doc View Source

MetaType

The static type structure of the agent or layer class
Declaration
[JsonIgnore]
public Type MetaType { get; }
Property Value
Type Description
System.Type
| Improve this Doc View Source

OutputProperties

Gets all properties marked or inferred as the output. Currently supported are only primitive, enum and string types
Declaration
[JsonIgnore]
public List<PropertyType> OutputProperties { get; }
Property Value
Type Description
System.Collections.Generic.List<PropertyType>
| Improve this Doc View Source

Properties

The public properties of the type with mapping of the property name to the property description
Declaration
[JsonIgnore]
public IDictionary<string, PropertyType> Properties { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, PropertyType>
| Improve this Doc View Source

TypeInterfaces

An optional set of own defined and implemented interfaces for this type
Declaration
[JsonIgnore]
public Type[] TypeInterfaces { get; set; }
Property Value
Type Description
System.Type[]
| Improve this Doc View Source

TypeMapping

The mapping entry point for this type with all parameter inputs
Declaration
[JsonIgnore]
public abstract TypeMapping TypeMapping { get; }
Property Value
Type Description
TypeMapping
| Improve this Doc View Source

TypeName

The full qualified name of the type including namespace and class name
Declaration
[JsonIgnore]
public string TypeName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TypeSimpleName

The short name of the type member
Declaration
[JsonIgnore]
public string TypeSimpleName { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Equals(TypeElement)

Represents a type description with inherited information about the properties, the constructor to create an instance of that type as well as their expected parameters with the parameter type
Declaration
public bool Equals(TypeElement other)
Parameters
Type Name Description
TypeElement other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Represents a type description with inherited information about the properties, the constructor to create an instance of that type as well as their expected parameters with the parameter type
Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
IdentifiableElement.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Represents a type description with inherited information about the properties, the constructor to create an instance of that type as well as their expected parameters with the parameter type
Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
IdentifiableElement.GetHashCode()

Implements

System.IEquatable<T>

Extension Methods

Serializer.Save<T>(T, out Byte[], SerializerCompression)
Serializer.Save<T>(T, Stream, SerializerCompression)
Serializer.Save<T>(T, BinaryFormatter, Stream, SerializerCompression)
Serializer.Save<T>(T, String, SerializerCompression)
Serializer.Save<T>(T, String)
Matrix.Concatenate<T>(T, T[])
Matrix.Replace<T>(T, Object, Object)
DomainDataImporter.Import(Object, InputConfiguration)
ObjectSerialize.Serialize(Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © MARS GROUP. HAW Hamburg