Update main.md

This commit is contained in:
xray 2022-05-24 16:56:08 +02:00 committed by GitHub
parent 40c78d61e6
commit d96aafea27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 15 deletions

41
main.md
View File

@ -20,20 +20,31 @@ Logos is built and operated entirely by its community. It will exist as a parall
We invites technologists, creatives, and policy experts, along with anyone passionate about our mission to participate in its creation, and help govern its future. Because together, were creating a more trustworthy social fabric to lead us into a brighter future. We invites technologists, creatives, and policy experts, along with anyone passionate about our mission to participate in its creation, and help govern its future. Because together, were creating a more trustworthy social fabric to lead us into a brighter future.
```using System.IO.Compression; ```
def init(self):
self.evidence = (0, 0)
self.confidence = (0, L)
#pragma warning disable 414, 3021 def step(self):
if self.color == ConsensusAgent.NONE:
return
namespace MyApplication vote_count = self.query_nodes()
{ total_votes = sum(vote_count)
[Obsolete("...")] if total_votes == 0:
class Program : IInterface return
{ self.evidence = (self.evidence[0] + vote_count[0], self.evidence[1] + total_votes)
public static List<int> JustDoIt(int count) self.confidence = (self.confidence[0] + total_votes, self.confidence[1] + total_votes)
{
Span<int> numbers = stackalloc int[length]; conf = self.confidence[0] / self.confidence[1]
Console.WriteLine($"Hello {Name}!"); e1 = vote_count[0] / total_votes
return new List<int>(new int[] { 1, 2, 3 }) e2 = self.evidence[0] / self.evidence[1]
} e = e1 * (1-conf) + e2 * conf
} alpha = self.evidence_alpha * (1-conf) + self.evidence_alpha2 * conf
}```
if e > alpha:
self.color = ConsensusAgent.YES
elif e < 1 - alpha:
self.color = ConsensusAgent.NO
else:
self.k = min(int(self.k * 2), self.initial_k * 4)```