Skip to content

Project 2 -- Floor Cleaning Robot @ 10810EECS204002 Data Structures by RST

Notifications You must be signed in to change notification settings

yakode/10810-DS-Project2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

10810-DS-Project2

Project2 -- Floor Cleaning Robot @Data Structures by RST

  • bool all_clean();
    check if there is no point need to clean

  • void cal_step_map(Point start);
    calculate the steps from Point start to every point
    steps are saved in step_map[1005][1005]

  • Point find_farthest();
    return position of the unclean farthest point

  • int step2R(Point start);
    return how many step needed to back to R

  • int A2B(Point A, Point B, bool out);
    path of A to B
    if out == 1, output the path

About

Project 2 -- Floor Cleaning Robot @ 10810EECS204002 Data Structures by RST

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages