Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 928 Bytes

README.md

File metadata and controls

45 lines (33 loc) · 928 Bytes

DAS - Attention Broker

The Attention Broker is the DAS component which keeps track of atom's importance values attached to different contexts and update those values according to the queries made by users using context specific hebbian networks.

DAS query engine can use those importance values to control caching policies and to better process pattern matcher queries.

How to build and run the server

From the main repository directory:

$ ./scripts/docker_image_build.sh
$ ./scripts/build.sh
$ ./scripts/run.sh PORT

How to run unit tests

From the main repository directory:

$ ./scripts/docker_image_build.sh
$ ./scripts/unit_tests.sh

Development environment

$ ./scripts/docker_image_build.sh
$ ./scripts/container_tty.sh 

Inside container:

$ cd src
$ # Build binaries
$ ../scripts/bazel_build_command_line.sh
$ # Run unit tests
$ ../scripts/bazel_test.sh