Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cityflow-project/CityFlow
/ functions
Functions
520 in github.com/cityflow-project/CityFlow
⨍
Functions
520
◇
Types & classes
81
↓ 34 callers
Method
getDistance
src/vehicle/vehicle.h:186
↓ 34 callers
Method
wait
src/utility/barrier.cpp:4
↓ 27 callers
Method
getId
src/flow/flow.cpp:24
↓ 20 callers
Method
getLen
src/vehicle/vehicle.h:182
↓ 20 callers
Method
isLane
src/roadnet/roadnet.h:266
↓ 19 callers
Method
getLength
src/roadnet/roadnet.cpp:701
↓ 17 callers
Method
getCurDrivable
src/vehicle/vehicle.cpp:387
↓ 17 callers
Function
min2double
src/utility/utility.h:70
↓ 13 callers
Method
getPriority
src/vehicle/vehicle.h:223
↓ 12 callers
Method
getBelongRoad
src/roadnet/roadnet.h:327
↓ 12 callers
Method
getVehicles
src/engine/engine.cpp:619
↓ 12 callers
Method
run_steps
(engine, steps)
tests/python/test_archive.py:12
↓ 11 callers
Function
infoAppend
(msg)
frontend/script.js:95
↓ 11 callers
Function
pointToDict
(x, y)
tools/generator/generate_json_from_grid.py:21
↓ 10 callers
Method
getLaneIndex
src/roadnet/roadnet.h:333
↓ 10 callers
Method
getSpeed
src/vehicle/vehicle.h:180
↓ 10 callers
Method
unit
src/utility/utility.cpp:63
↓ 9 callers
Method
Engine
src/engine/engine.cpp:13
↓ 9 callers
Method
dump
src/engine/archive.cpp:153
↓ 9 callers
Method
getPartner
src/vehicle/vehicle.h:296
↓ 9 callers
Function
get_filename
get_filename Generate filename of SUMO. :param netfile: original filename :param typ: net, nod, edg, tll, rou and sumocfg :param
tools/converter/converter_v2.py:1163
↓ 9 callers
Method
isLaneLink
src/roadnet/roadnet.h:268
↓ 8 callers
Method
getEndIntersection
src/roadnet/roadnet.h:352
↓ 8 callers
Function
getRoadUnitVector
(road)
tools/generator/generate_json_from_grid.py:37
↓ 8 callers
Function
get_turn_route
(start, direction)
tools/generator/generate_grid_scenario.py:55
↓ 8 callers
Method
len
src/utility/utility.cpp:74
↓ 7 callers
Method
add
(point)
frontend/Point.js:24
↓ 7 callers
Method
getId
src/roadnet/roadnet.h:192
↓ 7 callers
Method
getPointByDistance
src/roadnet/roadnet.cpp:396
↓ 7 callers
Method
get_record
(engine)
tests/python/test_archive.py:22
↓ 7 callers
Method
isReal
src/vehicle/vehicle.h:278
↓ 7 callers
Method
load
archive
src/engine/engine.h:176
↓ 7 callers
Method
moveAlong
(direct, length)
frontend/Point.js:42
↓ 6 callers
Method
getCurrentTime
src/engine/engine.cpp:678
↓ 6 callers
Method
getEndLane
src/roadnet/roadnet.h:470
↓ 6 callers
Method
getLaneLinksToRoad
src/roadnet/roadnet.cpp:447
↓ 6 callers
Method
getWidth
src/vehicle/vehicle.h:184
↓ 6 callers
Method
run_and_check
(self, engine, record)
tests/python/test_archive.py:16
↓ 6 callers
Method
snapshot
src/engine/engine.h:177
↓ 6 callers
Method
update
src/vehicle/router.cpp:78
↓ 6 callers
Function
updateReplaySpeed
(speed)
frontend/script.js:244
↓ 5 callers
Function
crossMultiply
src/utility/utility.cpp:39
↓ 5 callers
Method
directTo
(point)
frontend/Point.js:28
↓ 5 callers
Function
double2string
src/utility/utility.h:74
↓ 5 callers
Method
getId
src/vehicle/vehicle.h:178
↓ 5 callers
Method
getLastVehicle
src/roadnet/roadnet.h:275
↓ 5 callers
Method
getStartIntersection
src/roadnet/roadnet.h:348
↓ 5 callers
Method
getVehicleCount
src/engine/engine.cpp:615
↓ 5 callers
Method
help
src/utility/optionparser.h:427
↓ 5 callers
Method
nextStep
src/flow/flow.cpp:6
↓ 4 callers
Method
ang
src/utility/utility.cpp:78
↓ 4 callers
Method
getBlocker
src/vehicle/vehicle.h:204
↓ 4 callers
Method
getDirectionByDistance
src/roadnet/roadnet.cpp:400
↓ 4 callers
Method
getDistanceByLane
src/roadnet/roadnet.h:147
↓ 4 callers
Method
getEnterLaneLinkTime
src/vehicle/vehicle.h:262
↓ 4 callers
Method
getInnerLane
src/roadnet/roadnet.h:335
↓ 4 callers
Method
getInterval
src/engine/engine.h:119
↓ 4 callers
Function
getLaneShift
(road, laneIndex)
tools/generator/generate_json_from_grid.py:30
↓ 4 callers
Function
getLengthOfPoints
src/roadnet/roadnet.cpp:31
↓ 4 callers
Method
getMaxNegAcc
src/vehicle/vehicle.h:192
↓ 4 callers
Method
getMaxSpeed
src/vehicle/vehicle.h:266
↓ 4 callers
Method
getNextDrivable
src/vehicle/router.cpp:39
↓ 4 callers
Method
getOuterLane
src/roadnet/roadnet.h:339
↓ 4 callers
Method
getReachStepsOnLaneLink
src/vehicle/vehicle.cpp:270
↓ 4 callers
Method
getRoadById
src/roadnet/roadnet.h:510
↓ 4 callers
Method
getSegmentIndex
src/vehicle/vehicle.h:280
↓ 4 callers
Method
getWidth
src/roadnet/roadnet.cpp:693
↓ 4 callers
Function
get_direction_fron_connection
(connection)
tools/converter/converter.py:84
↓ 4 callers
Function
get_direction_fron_connection
get_direction_fron_connection Generate direction map from connection. :param connection: key of direction map :return result: value
tools/converter/converter_v2.py:155
↓ 4 callers
Function
get_straight_route
(start, direction, step)
tools/generator/generate_grid_scenario.py:38
↓ 4 callers
Method
hasSetEnd
src/vehicle/vehicle.h:151
↓ 4 callers
Method
isAvailable
src/roadnet/roadnet.h:429
↓ 4 callers
Method
isRunning
src/vehicle/vehicle.h:272
↓ 4 callers
Function
isTruelyInside
(i, j)
tools/generator/generate_json_from_grid.py:182
↓ 4 callers
Function
max2double
src/utility/utility.h:66
↓ 4 callers
Method
normal
src/utility/utility.cpp:68
↓ 4 callers
Method
notify
src/roadnet/roadnet.cpp:595
↓ 4 callers
Function
point_tuple_to_dict
(point_tuple)
tools/converter/converter.py:150
↓ 4 callers
Function
point_tuple_to_dict
(point_tuple)
tools/converter/converter_v2.py:236
↓ 4 callers
Function
readJsonFromFile
src/utility/utility.cpp:96
↓ 4 callers
Function
remove_character
----------------------------------------------------------------------------
src/utility/optionparser.h:115
↓ 3 callers
Method
checkPriority
src/engine/engine.cpp:601
↓ 3 callers
Function
drawStep
(step)
frontend/script.js:677
↓ 3 callers
Method
getChangedDrivable
src/vehicle/vehicle.cpp:75
↓ 3 callers
Method
getDrivableById
src/roadnet/roadnet.h:518
↓ 3 callers
Method
getGap
src/vehicle/vehicle.h:332
↓ 3 callers
Method
getStartLane
src/roadnet/roadnet.h:468
↓ 3 callers
Function
handleChooseFile
(v, label_dom)
frontend/script.js:112
↓ 3 callers
Function
isInside
(i, j)
tools/generator/generate_json_from_grid.py:179
↓ 3 callers
Method
isTurn
src/roadnet/roadnet.h:433
↓ 3 callers
Method
isVirtualIntersection
src/roadnet/roadnet.h:103
↓ 3 callers
Method
pushVehicle
src/engine/engine.cpp:605
↓ 3 callers
Method
rotate
(angle)
frontend/Point.js:51
↓ 3 callers
Function
transCoord
(point)
frontend/script.js:469
↓ 3 callers
Function
uploadFile
(v, file, callback)
frontend/script.js:119
↓ 2 callers
Function
GetDigitsLut
extern/milo/dtoa_milo.h:295
↓ 2 callers
Function
GrisuRound
extern/milo/dtoa_milo.h:199
↓ 2 callers
Function
WriteExponent
extern/milo/dtoa_milo.h:311
↓ 2 callers
Function
_cityflow_get_lane_index_in_edge
(lane, edge)
tools/converter/converter.py:136
↓ 2 callers
Function
_cityflow_get_lane_index_in_edge
(lane, edge)
tools/converter/converter_v2.py:221
next →
1–100 of 520, ranked by callers