krainskil / smarttransitionsim.jl Goto Github PK
View Code? Open in Web Editor NEWSmart cars transition multi-agent simulator created in Julia
License: MIT License
Smart cars transition multi-agent simulator created in Julia
License: MIT License
Installed the package
(@v1.10) pkg> st
Status `~/.julia/environments/v1.10/Project.toml`
[a93c6f00] DataFrames v1.6.1
[4dc1fcf4] DotEnv v1.0.0
⌃ [cd3eb016] HTTP v1.10.3
[682c06a0] JSON v0.21.4
[0f8b85d8] JSON3 v1.14.0
[5fb14364] OhMyREPL v0.5.24
[e9f21f70] OpenAI v0.9.0
[d7c9b1e0] SmartTransitionSim v0.1.0 `https://github.com/KrainskiL/SmartTransitionSim.jl#master`
[2913bbd2] StatsBase v0.34.2
[21ca0261] Transformers v0.2.8 `~/.julia/dev/Transformers`
[37e2e46d] LinearAlgebra
Info Packages marked with ⌃ have new versions available and may be upgradable.
and then basically trying to run the project with given instructions
SmartTransitionSim.jl [ master][📦 v0.1.0][ஃ v1.10.2]
❯ julia example/run_sweep_v4_NoSerial-1.jl 1
ERROR: LoadError: MethodError: no method matching yen_a_star(::Graphs.SimpleGraphs.SimpleDiGraph{Int64}, ::Int64, ::Int64, ::SparseArrays.SparseMatrixCSC{Float64, Int64}, ::Int64)
Closest candidates are:
yen_a_star(::LightGraphs.AbstractGraph, ::Int64, ::Int64, ::AbstractMatrix, ::Int64)
@ SmartTransitionSim ~/.julia/packages/SmartTransitionSim/ANKlZ/src/rerouting.jl:108
yen_a_star(::LightGraphs.AbstractGraph, ::Int64, ::Int64, ::AbstractMatrix)
@ SmartTransitionSim ~/.julia/packages/SmartTransitionSim/ANKlZ/src/rerouting.jl:108
yen_a_star(::LightGraphs.AbstractGraph, ::Int64, ::Int64)
@ SmartTransitionSim ~/.julia/packages/SmartTransitionSim/ANKlZ/src/rerouting.jl:108
Stacktrace:
[1] k_shortest_path_rerouting!(OSMmap::OpenStreetMapX.MapData, k_routes_dict::Dict{Tuple{Int64, Int64}, Array{Vector{Int64}}}, inAgent::Agent, speeds::SparseArrays.SparseMatrixCSC{Float64, Int64}, max_speeds::SparseArrays.SparseMatrixCSC{Float64, Int64}, k::Int64, T::Float64, upd_period::Int64, seed::Int64)
@ SmartTransitionSim ~/.julia/packages/SmartTransitionSim/ANKlZ/src/rerouting.jl:64
[2] k_shortest_path_rerouting!(OSMmap::OpenStreetMapX.MapData, k_routes_dict::Dict{Tuple{Int64, Int64}, Array{Vector{Int64}}}, inAgent::Agent, speeds::SparseArrays.SparseMatrixCSC{Float64, Int64}, max_speeds::SparseArrays.SparseMatrixCSC{Float64, Int64}, k::Int64, T::Float64, upd_period::Int64)
@ SmartTransitionSim ~/.julia/packages/SmartTransitionSim/ANKlZ/src/rerouting.jl:27
[3] generate_agents(OSMmap::OpenStreetMapX.MapData, N::Int64, StartArea::Vector{Rect}, EndArea::Vector{Rect}, α::Float64, k::Int64, T::Float64, AvgStartTime::Float64, k_routes_dict::Dict{Tuple{Int64, Int64}, Array{Vector{Int64}}})
@ SmartTransitionSim ~/.julia/packages/SmartTransitionSim/ANKlZ/src/generate_agents.jl:116
[4] top-level scope
@ ~/Git/SmartTransitionSim.jl/example/run_sweep_v4_NoSerial-1.jl:33
in expression starting at /Users/abhi/Git/SmartTransitionSim.jl/example/run_sweep_v4_NoSerial-1.jl:33
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.