Simplee.Intelligence.Distributed
1.0.2
dotnet add package Simplee.Intelligence.Distributed --version 1.0.2
NuGet\Install-Package Simplee.Intelligence.Distributed -Version 1.0.2
<PackageReference Include="Simplee.Intelligence.Distributed" Version="1.0.2" />
paket add Simplee.Intelligence.Distributed --version 1.0.2
#r "nuget: Simplee.Intelligence.Distributed, 1.0.2"
// Install Simplee.Intelligence.Distributed as a Cake Addin #addin nuget:?package=Simplee.Intelligence.Distributed&version=1.0.2 // Install Simplee.Intelligence.Distributed as a Cake Tool #tool nuget:?package=Simplee.Intelligence.Distributed&version=1.0.2
Boole |> Borg
Library which implements distributed algortihms.
Logger Agent
The library implements a logging agent which can receive messages with logging payload. These messages are stored internally and can be retrieved at any moment by using the LOGS message. Find below an example (please note the error identifier in the error log):
open Simplee.Distributed
let lgr = Log.create "lg"
async {
do! lgr |> Log.info ("a1" |> AgentID) ("s1" |> SessionID) "hello info"
do! lgr |> Log.warning ("a1" |> AgentID) ("s1" |> SessionID) "hello warn"
do! lgr |> Log.error ("a1" |> AgentID) ("s1" |> SessionID) 0 "hello err"
do! Async.Sleep 1000
return! lgr |> Log.logs
}
|> Async.RunSynchronously
|> List.iter(printfn "%O")
Graph Learning Agent
This agent implements the Graph Learning (GL) distributed algorithm. In the first step you configure the graph by using the ADDCHANNEL message which creates a communication channel between two agents. The algortihm is then initiated by sending START message to one of the graph's agents. Find an example below:
open Simplee.Distributed
open Simplee.Distributed.Traversals.GL
let lg = Log.create "lg"
let gl = GL.controller (lg)
let a1, a2, a3 = "a1" |> gl.Create, "a2" |> gl.Create, "a3" |> gl.Create
async {
// Configure the graph (connect the agents)
do! a1 |> GL.sysAddCh ("a2" |> AgentID |> ChannelID)
do! a2 |> GL.sysAddCh ("a3" |> AgentID |> ChannelID)
do! a2 |> GL.sysAddCh ("a1" |> AgentID |> ChannelID)
do! a3 |> GL.sysAddCh ("a1" |> AgentID |> ChannelID)
do! Async.Sleep 1000
// Start the GL algorithm.
do! a1 |> GL.run ("s1" |> SessionID)
do! Async.Sleep 1000
// Collect the logs.
return! lg |> Log.logs
}
|> Async.RunSynchronously
|> List.iter(printfn "%O")
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- FSharp.Core (>= 4.6.2)
- Simplee.Intelligence.Common (>= 1.0.7)
-
.NETStandard 2.0
- FSharp.Core (>= 4.6.2)
- Simplee.Intelligence.Common (>= 1.0.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.0.2 | 667 | 5/26/2019 |
Add the GL and Logger agents.