{"id":19484963,"url":"https://github.com/opencog/attention","last_synced_at":"2025-04-25T16:33:54.440Z","repository":{"id":36883384,"uuid":"204281694","full_name":"opencog/attention","owner":"opencog","description":"OpenCog Attention Allocation Subsystem","archived":false,"fork":false,"pushed_at":"2023-09-19T22:54:34.000Z","size":731,"stargazers_count":10,"open_issues_count":8,"forks_count":19,"subscribers_count":15,"default_branch":"master","last_synced_at":"2023-09-20T01:01:07.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opencog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-08-25T10:54:47.000Z","updated_at":"2023-09-26T02:57:21.765Z","dependencies_parsed_at":"2022-09-12T15:33:06.162Z","dependency_job_id":null,"html_url":"https://github.com/opencog/attention","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fattention","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fattention/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fattention/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencog%2Fattention/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opencog","download_url":"https://codeload.github.com/opencog/attention/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224009959,"owners_count":17240651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T20:24:55.706Z","updated_at":"2024-11-10T20:24:57.217Z","avatar_url":"https://github.com/opencog.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Attention Allocation\n=====================\n\nopencog | singnet\n------- | -------\n[![CircleCI](https://circleci.com/gh/opencog/attention.svg?style=svg)](https://circleci.com/gh/opencog/attention) | [![CircleCI](https://circleci.com/gh/singnet/attention.svg?style=svg)](https://circleci.com/gh/singnet/attention)\n\nAttention Allocation is an OpenCog subsystem meant to control the\napplication of processing and memory resources to specific tasks.\n\nThe main project site is at http://opencog.org\n\nOverview\n--------\nCurrently implemented: Economic Attention Allocation (ECAN).\n\n\nBuilding and Running\n--------------------\nFor platform dependent instruction on dependencies and building the\ncode, as well as other options for setting up development environments,\nmore details are found on the [Building Opencog\nwiki](http://wiki.opencog.org/wikihome/index.php/Building_OpenCog).\n\n\nPrerequisites\n-------------\nTo build and run the Attention Allocation subsystem,\nthe packages listed below are required.\nWith a few exceptions, most Linux distributions will provide these\npackages. Users of Ubuntu may use the dependency\ninstaller at `/scripts/octool`.  Users of any version of Linux may\nuse the Dockerfile to quickly build a container in which OpenCog will\nbe built and run.\n\n###### cogutil\n\u003e Common OpenCog C++ utilities\n\u003e http://github.com/opencog/cogutil\n\u003e It uses exactly the same build procedure as this package. Be sure\n  to `sudo make install` at the end.\n\n###### atomspace\n\u003e OpenCog Atomspace database and reasoning engine\n\u003e http://github.com/opencog/atomspace\n\u003e It uses exactly the same build procedure as this package. Be sure\n  to `sudo make install` at the end.\n\n###### cogserver\n\u003e OpenCog CogServer Network Server.\n\u003e http://github.com/opencog/cogserver\n\u003e It uses exactly the same build procedure as this package. Be sure\n  to `sudo make install` at the end.\n\n\nBuilding Attention Allocation\n-----------------------------\nPerform the following steps at the shell prompt:\n```\n    cd to project root dir\n    mkdir build\n    cd build\n    cmake ..\n    make\n```\nLibraries will be built into subdirectories within build, mirroring\nthe structure of the source directory root.\n\n\nUnit tests\n----------\nTo build and run the unit tests, from the `./build` directory enter\n(after building opencog as above):\n```\n    make test\n```\n\nCMake notes\n-----------\nSome useful CMake's web sites/pages:\n\n - http://www.cmake.org (main page)\n - http://www.cmake.org/Wiki/CMake_Useful_Variables\n - http://www.cmake.org/Wiki/CMake_Useful_Variables/Get_Variables_From_CMake_Dashboards\n - http://www.cmake.org/Wiki/CMakeMacroAddCxxTest\n - http://www.cmake.org/Wiki/CMake_HowToFindInstalledSoftware\n\n\nThe main CMakeLists.txt currently sets -DNDEBUG. This disables Boost\nmatrix/vector debugging code and safety checks, with the benefit of\nmaking it much faster. Boost sparse matrixes and (dense) vectors are\ncurrently used by ECAN's ImportanceDiffusionAgent. If you use Boost\nublas in other code, it may be a good idea to at least temporarily\nunset NDEBUG. Also if the Boost assert.h is used it will be necessary\nto unset NDEBUG. Boost ublas is intended to respond to a specific\nBOOST_UBLAS_NDEBUG, however this is not available as of the current\nUbuntu standard version (1.34).\n\n-Wno-deprecated is currently enabled by default to avoid a number of\nwarnings regarding hash_map being deprecated (because the alternative\nis still experimental!)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencog%2Fattention","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencog%2Fattention","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencog%2Fattention/lists"}