Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnebro committed Oct 3, 2024
1 parent 22c6ace commit ab3dc65
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/MetaJul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,8 @@ export AggregationFunction, WeightedSum, PenaltyBoundaryIntersection
export compute
include("util/aggregationFunction.jl")

export WeightVectorNeighborhood
include("util/neighborhood.jl")

end
# module metajul
18 changes: 17 additions & 1 deletion test/util/neighborhoodTest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,20 @@
minFastSort(x, idx, n, m)
@test x == [1.0, 2.0, 3.0]
@test idx == [1, 2, 3]
end
end


weightVectorNeighborhood = WeightVectorNeighborhood{ContinuousSolution{Float64}}(100, 20)

function ()
dimension = 4
point = ArrayPoint(dimension)

return values(point) == zeros(dimension)
end


@testset "WeightVectorNeighborhood initialization Tests" begin
#@test constructorCreatesAnIdealPointWithAGivenDimension()

end

0 comments on commit ab3dc65

Please sign in to comment.