Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 639 Bytes

File metadata and controls

21 lines (18 loc) · 639 Bytes

RRT

Pseudo Code RRT
    Input: Initial configuration qinit, number of vertices(꼭지점) in RRT K, incremental distance Δq
    Output: RRT graph G

    G.init(qinit)
    for k = 1 to K do
        qrand ← RAND_CONF()
        qnear ← NEAREST_VERTEX(qrand, G)
        qnew ← NEW_CONF(qnear, qrand, Δq)
        G.add_vertex(qnew)
        G.add_edge(qnear, qnew)
    return G