Skip to content

CEA-LIST/Behavior-Tree-CRDT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Behavior Tree

This Rust scaffold project has been automatically generated by Arachne, a code generator from Ecore metamodels to a composition of replicated data types.

It is the metamodel of a Behavior Tree.

Behavior Tree Ecore metamodel

Generated Artifacts

Arachne generated the classifier.rs, references.rs, package.rs, and lib.rs files.

  • classifier.rs: contains the replicated object hierarchy, i.e., the CRDTs reproducing the (concrete and abstract) classes, interfaces, enums, and owned features (attributes and containment references).
  • references.rs: contains the Typed Graph CRDT implementation. Manages the non-containment references between replicated objects.
  • package.rs: the root replicated object that contains both the object hierarchy and the typed graph. This is the object with which end-users interact.

Organization

.
├── bench-results/json # Fuzzer execution results
├── src/
│   ├── utils/ # Fuzzer implementation, helper functions...
│   ├── classifiers.rs # Automatically generated
│   ├── lib.rs # Automatically generated
│   ├── package.rs # Automatically generated
│   └── references.rs # Automatically generated
├── tests/
│   ├── fuzzer.rs # Fuzzer test
│   └── scenarios.rs # Test scenarios illustrating how conflicts are solved
├── behavior_tree.ecore # Ecore metamodel
└── behavior_tree.png # Ecore metamodel diagram

Running the project

Rust must be installed on your machine: https://rust-lang.org/tools/install.

Running all the tests:

RUST_LOG=debug cargo test

Running the fuzzer:

RUST_LOG=debug cargo test --release -- --ignored --no-capture fuzz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages