Skip to content

Commit

Permalink
Merge pull request #43 from Herb-AI/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
THinnerichs authored Jun 30, 2023
2 parents b866e57 + 2479f86 commit 7880055
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 27 deletions.
9 changes: 3 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
[submodule "HerbData.jl"]
path = HerbData.jl
url = https://github.com/Herb-AI/HerbData.jl.git
[submodule "HerbBenchmarks.jl"]
path = HerbBenchmarks.jl
url = https://github.com/Herb-AI/HerbBenchmarks.jl.git
[submodule "HerbUtils.jl"]
path = HerbUtils.jl
url = https://github.com/Herb-AI/HerbUtils.jl.git
[submodule "HerbEvaluation.jl"]
path = HerbEvaluation.jl
url = https://github.com/Herb-AI/HerbEvaluation.jl.git
Expand All @@ -22,3 +16,6 @@
[submodule "HerbConstraints.jl"]
path = HerbConstraints.jl
url = https://github.com/Herb-AI/HerbConstraints.jl.git
[submodule "HerbCore.jl"]
path = HerbCore.jl
url = https://github.com/Herb-AI/HerbCore.jl.git
1 change: 0 additions & 1 deletion HerbBenchmarks.jl
Submodule HerbBenchmarks.jl deleted from 495047
1 change: 1 addition & 0 deletions HerbCore.jl
Submodule HerbCore.jl added at 5b6bea
2 changes: 1 addition & 1 deletion HerbData.jl
Submodule HerbData.jl updated 2 files
+1 −1 README.md
+40 −21 src/HerbData.jl
2 changes: 1 addition & 1 deletion HerbEvaluation.jl
1 change: 0 additions & 1 deletion HerbUtils.jl
Submodule HerbUtils.jl deleted from a4797d
12 changes: 12 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,15 @@ name = "Herb"
uuid = "c09c6b7f-4f63-49de-90d9-97a3563c0f4a"
authors = ["Jaap de Jong <[email protected]>"]
version = "0.1.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
TreeView = "39424ebd-4cf3-5550-a685-96706a953f40"
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"

[compat]
AbstractTrees = "0.4"
DataStructures = "0.17,0.18"
TreeView = "0.5"
julia = "1"
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
# Herb.jl

Core functionality:
## Introduction

install all dependencies
focus on user interaction, how the user should use the library: init, run, output

Additional functionality:

benchmarking and basic config for default cases
template notebooks


### Getting started
## Getting started

As this project is working with git-submodules, after cloning please run

Expand All @@ -26,4 +17,5 @@ To update each submodule to their latest master commit, please run
git submodule update --rebase --remote
```

## Conventions

5 changes: 4 additions & 1 deletion src/Herb.jl
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
module Herb

include("../HerbCore.jl/src/HerbCore.jl")
include("../HerbGrammar.jl/src/HerbGrammar.jl")
include("../HerbConstraints.jl/src/HerbConstraints.jl")
include("../HerbData.jl/src/HerbData.jl")
include("../HerbEvaluation.jl/src/HerbEvaluation.jl")
include("../HerbSearch.jl/src/HerbSearch.jl")

using .HerbCore
using .HerbGrammar
using .HerbConstraints
using .HerbData
using .HerbEvaluation
using .HerbSearch

export
HerbCore,
HerbGrammars,
HerbConstraints,
HerbData,
HerbEvaluation,
HerbSearch

end # module
6 changes: 5 additions & 1 deletion test/herb_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module HerbTest

include("../src/Herb.jl")

using .Herb.HerbCore
using .Herb.HerbGrammar
using .Herb.HerbConstraints
using .Herb.HerbEvaluation
Expand All @@ -14,7 +15,10 @@ using Test
include("../HerbGrammar.jl/test/test_cfg.jl")
include("../HerbGrammar.jl/test/test_csg.jl")
include("../HerbConstraints.jl/test/test_propagators.jl")
include("../HerbSearch.jl/test/test_iterators.jl")
include("../HerbSearch.jl/test/test_algorithms.jl")
include("../HerbSearch.jl/test/test_context_free_iterators.jl")
include("../HerbSearch.jl/test/test_context_sensitive_iterators.jl")
include("../HerbSearch.jl/test/test_search_procedure.jl")
end

end # module

0 comments on commit 7880055

Please sign in to comment.