struct

AgentZero::NetworkStatus

Inherits Struct < Value < Object

Network status information

Constructors

new(network_name : String, agent_count : Int32, running : Bool, connectivity : Float64, average_trust : Float64, agents : Hash(String, Hash(String, JSON::Any)), config : AgentNetwork::NetworkConfig)
Source

Instance methods

agent_count
Source
agent_count=(agent_count : Int32)
Source
agents
Source
agents=(agents : Hash(String, Hash(String, JSON::Any)))
Source
average_trust
Source
average_trust=(average_trust : Float64)
Source
config
Source
config=(config : AgentNetwork::NetworkConfig)
Source
connectivity
Source
connectivity=(connectivity : Float64)
Source
network_name
Source
network_name=(network_name : String)
Source
running
Source
running=(running : Bool)
Source
timestamp
Source
timestamp=(timestamp : Time)
Source
to_json(json : JSON::Builder)
Source