Skip to content

mikabz1/Deployment_of_search_drones_OOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project summary:

This project is a work for a bachelor's degree in computer science in the object-oriented CPP course.

The project comes to test and create skills in the following subjects:

-Object-oriented design including multiple classes and multiple inheritance.

-data structure.

-Programming in CPP language.

-recursions.

-problem solving.

-Reading, writing and checking files.

-debugging.

The project is an object-oriented simulation of a bunch of drones of different types, each of which has a slightly different behavior. The aim of the drones is to reach a target point within a "forest" and thus end the program's run.

The drones are stored in a binary tree data structure which supports classic binary tree operations using recursion. (*insert, *search, *min, *max, *remove, *clear, *size)

types of drones and thair behavior:

image

new drone location:

image

new drone speed: image Single Rotor - 'S'.

Multy Rotot - 'M'.

Fixed Wing - 'F'.

Hybrid - 'H' will move like Single Rotor.

image

input and output format:

config file: first line - 4 ints for forest size configuration. second line - 2 real num for the target point cordinates. third line - number of simulation iterations.

image

init file: first line - number of drones to be created. other lines - 4 numbers for drone location and speed.

image

output file: first line - number of iteration. other lines - type of drone(char) and location.

image

*The names of the files passed as arguments to the program

About

Search drones OOP simulation using binary-search-tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published