Basic search algorithms in Python
The research is mainly about the Python implementation of three basic algorithms: Depth-First Search, Breadth-First Search and A* Search. Besides, the paper introduces some of the auxiliary knowledge and theories: the four criteria for measuring algorithms, three kinds of queues, and grid-based simu...
        Saved in:
      
    
          | Main Author | |
|---|---|
| Format | Conference Proceeding | 
| Language | English | 
| Published | 
            SPIE
    
        13.10.2022
     | 
| Online Access | Get full text | 
| ISBN | 1510655867 9781510655867  | 
| ISSN | 0277-786X | 
| DOI | 10.1117/12.2640473 | 
Cover
| Abstract | The research is mainly about the Python implementation of three basic algorithms: Depth-First Search, Breadth-First Search and A* Search. Besides, the paper introduces some of the auxiliary knowledge and theories: the four criteria for measuring algorithms, three kinds of queues, and grid-based simulation. While other coding languages like C++ and Java may focus on algorithm more and may have lots of templates and other solved works, Python seem not to focus so much on this, and OOP (object-oriented programming) is the major topic of high-level Python coding. Thus, constructing algorithms and mapping (or simulating real-world situations) indeed become a challenge.In this work, two simulations are made by generating classes: 1. grid-based world 2. graph and vertex. Grid based world introduces coordinates and heuristic functions, which constructs the environment suitable for greedy algorithms. Graph and vertex use nodes to represent different states in the of the world, and using frontier-based search, the nodes will be explored step by step from the initial state until the goal state is reached. After the environment and algorithms are constructed, finally, analysis for the three algorithms are presented in the conclusion part according to the criteria mentioned. | 
    
|---|---|
| AbstractList | The research is mainly about the Python implementation of three basic algorithms: Depth-First Search, Breadth-First Search and A* Search. Besides, the paper introduces some of the auxiliary knowledge and theories: the four criteria for measuring algorithms, three kinds of queues, and grid-based simulation. While other coding languages like C++ and Java may focus on algorithm more and may have lots of templates and other solved works, Python seem not to focus so much on this, and OOP (object-oriented programming) is the major topic of high-level Python coding. Thus, constructing algorithms and mapping (or simulating real-world situations) indeed become a challenge.In this work, two simulations are made by generating classes: 1. grid-based world 2. graph and vertex. Grid based world introduces coordinates and heuristic functions, which constructs the environment suitable for greedy algorithms. Graph and vertex use nodes to represent different states in the of the world, and using frontier-based search, the nodes will be explored step by step from the initial state until the goal state is reached. After the environment and algorithms are constructed, finally, analysis for the three algorithms are presented in the conclusion part according to the criteria mentioned. | 
    
| Author | Ye, Xiaomeng | 
    
| Author_xml | – sequence: 1 givenname: Xiaomeng surname: Ye fullname: Ye, Xiaomeng organization: Hefei No. 8 Senior High School (China)  | 
    
| BookMark | eNotz0FLwzAUwPGAE1ynFz9BvQqd7700L-1Rh1NhsB0UvIUkTdbKTEezi99exJ3-tz_8CjFLYwpC3CIsEVE_IC2Ja6i1vBAFKgRWqmE9E3MgrSvd8OeVKHL-AqBG6XYu7p5sHnyZg518X9rDfpyGU_-dyyGVu59TP6ZrcRntIYebcxfiY_38vnqtNtuXt9XjpsoISlZ1dMgEjYuAgV1HnryLxKSibcEj1iQluyA732lvZeSgW5AsuUXVdCQX4v7_m49DMMdp9CF0Q9png2D-dAbJnHXyFyz3QVY | 
    
| ContentType | Conference Proceeding | 
    
| Copyright | COPYRIGHT SPIE. Downloading of the abstract is permitted for personal use only. | 
    
| Copyright_xml | – notice: COPYRIGHT SPIE. Downloading of the abstract is permitted for personal use only. | 
    
| DOI | 10.1117/12.2640473 | 
    
| DatabaseTitleList | |
| DeliveryMethod | fulltext_linktorsrc | 
    
| Discipline | Engineering | 
    
| Editor | Saxena, Sandeep | 
    
| Editor_xml | – sequence: 1 givenname: Sandeep surname: Saxena fullname: Saxena, Sandeep organization: Department of Information Technology, Galgotias College of Engineering and Technology (India)  | 
    
| EndPage | 1228704-11 | 
    
| ExternalDocumentID | 10_1117_12_2640473 | 
    
| GroupedDBID | 29O 4.4 5SJ ACGFS ALMA_UNASSIGNED_HOLDINGS EBS F5P FQ0 R.2 RNS RSJ SPBNH UT2  | 
    
| ID | FETCH-LOGICAL-s1053-4fb16208bf01e6bd2c2cbf2625fa90c1142336be3dcd7ca3f6e79036369158d23 | 
    
| ISBN | 1510655867 9781510655867  | 
    
| ISSN | 0277-786X | 
    
| IngestDate | Sun Oct 23 04:10:53 EDT 2022 | 
    
| IsPeerReviewed | false | 
    
| IsScholarly | true | 
    
| Language | English | 
    
| LinkModel | OpenURL | 
    
| MergedId | FETCHMERGED-LOGICAL-s1053-4fb16208bf01e6bd2c2cbf2625fa90c1142336be3dcd7ca3f6e79036369158d23 | 
    
| Notes | Conference Location: Wuhan, China Conference Date: 2022-03-11|2022-03-13  | 
    
| ParticipantIDs | spie_proceedings_10_1117_12_2640473 | 
    
| PublicationCentury | 2000 | 
    
| PublicationDate | 20221013 | 
    
| PublicationDateYYYYMMDD | 2022-10-13 | 
    
| PublicationDate_xml | – month: 10 year: 2022 text: 20221013 day: 13  | 
    
| PublicationDecade | 2020 | 
    
| PublicationYear | 2022 | 
    
| Publisher | SPIE | 
    
| Publisher_xml | – name: SPIE | 
    
| SSID | ssj0028579 | 
    
| Score | 2.2003636 | 
    
| Snippet | The research is mainly about the Python implementation of three basic algorithms: Depth-First Search, Breadth-First Search and A* Search. Besides, the paper... | 
    
| SourceID | spie | 
    
| SourceType | Publisher | 
    
| StartPage | 1228704 | 
    
| Title | Basic search algorithms in Python | 
    
| URI | http://www.dx.doi.org/10.1117/12.2640473 | 
    
| Volume | 12287 | 
    
| hasFullText | 1 | 
    
| inHoldings | 1 | 
    
| isFullTextHit | |
| isPrint | |
| link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwnV3JTsMwELWgvcCJpYhdQXBDKYmd9ciqgiiqRCv1FnlLqQQpouUAX884NnFEewAuVmxZSewXjd84njcInWABNFj4uUtC4rkBpcSlsQIkkIFHc8H8Uomp-xB1BsHdMBxaLZ0yumTG2vxzYVzJf1CFNsBVRcn-AdnqptAA14AvlIAwlPMYL1xqLijM8qnZuqDPown4-k8v5RnX3oeSBbB7omoyh2OqFBdGdV8f3ER1dILUTkjc1vw_WKuBP4SJTmdhbIb6IxsnZXJAa-AwNouaNlJlXSf9NWueaXG13VtgVcu4fNwG9uQFOvXID5Vq7UvEmY8z02kZNTGJPdxAzfOr7v1j5QYnoVZA_H5VFW5XDcWocFV1oygLtz6zz1en7l7HskYE-muoZUMknV6FyDpaksUGWq2pO26ioxIcR4PjWHCcceFocFpocHPdv-y4JiOFOwUeStwgZ36EvYTlni8jJjDHnOUYfMicph5XccmEREwSwUXMKckjGafqV3mU-mEiMNlCjWJSyG3kyJTlwmfwlkka0FiyxAPySrligMDK-Q46VmPM7Mc1zeYnefdXvfbQiv2a9lFj9vYuD4BLzdihAecLtWoRzw | 
    
| linkProvider | EBSCOhost | 
    
| openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=proceeding&rft.title=Basic+search+algorithms+in+Python&rft.au=Ye%2C+Xiaomeng&rft.date=2022-10-13&rft.pub=SPIE&rft.isbn=1510655867&rft.issn=0277-786X&rft.volume=12287&rft.spage=1228704&rft.epage=1228704-11&rft_id=info:doi/10.1117%2F12.2640473&rft.externalDocID=10_1117_12_2640473 | 
    
| thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=0277-786X&client=summon | 
    
| thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=0277-786X&client=summon | 
    
| thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=0277-786X&client=summon |