Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(7)  |  Derive(0)  |  Import(1)

src/m/y/MyRoughWork-HEAD/maze_solver/rough/dft_astar.py   MyRoughWork(Download)
import astar as st
 
start = st.Cell(0,0,True)
test = st.Cell(5,5,True)
target = st.Cell(6,6,True)

src/a/u/autonomee-HEAD/svg.py   autonomee(Download)
from lxml import etree
from geometry import Point, Rectangle, Ellipse, Polygone, Polyline, Ray
from astar import DiscreteMap, Cell
from math import radians, pi
import re
    def search(self, begin, goal):
        div = self.discreteMap.division
        beginCell = Cell(begin[0] / div, begin[1] / div)
        goalCell = Cell(goal[0] / div, goal[1] / div)
 
    print mySvg
    print ""
    path = mySvg.discreteMap.search(Cell(0, 0), Cell(40, 40))