Skip to main content

A scientific package to solve Heron shortest path problem in geometry

Project description

SBPGeologyHeron Package

Hi, I'm Mohammad Ghiasvand Mohammadkhani, the author of this python scientific package . This package and the programming idea of this package to solve the Heron shortest problem is unique in the World Wide Web and I am the first person who has created this python package .

To use this scientific package,at first you need to install it by pip command, then you have to code the text in the quotation, "from SBPGeologyHeron import SBPGeologyHeron" ;Then if you want to see an output from that, you need to do the following path in the next paragraph .

The description of Heron shortest path problem is 'Which path minimizes the distance needed to get water from the river and then transport it to the green village from the position that you were at first ?' If you imagine the all of the Axis x as the river and code the text in the quotation, "print(SBPGeologyHeron.heronShortestPath())", you need to pass 4 arguments into heronShortestPath function ;The first one is the x-coordinate of the first position and the second one is the y-coordinate of the first position and the third one is the x-coordinate of the green village position and the fourth one is the y-coordinate of the green village position ;Then if you run the code it will give you the exact spot of the river that you have to pick up water from that to wend the shortest possible path (it means, if you go to that spot from your first position in a straight line and go to the green village afterwards in a straight line, you have transported water by wending the shortest possible path).

But please note that if you enter one of the y coordinates equal to zero, or entering one of the y coordinates negative and also the other one positive, you will encounter to an error (because in that case Heron shortest path problem is not defined due to it would be really easy to solve it in that way and the answer would be a straight line that matches the first position to the green village position).

Thanks, Hope to be helpful for you .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SBPGeologyHeron-0.0.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SBPGeologyHeron-0.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file SBPGeologyHeron-0.0.3.tar.gz.

File metadata

  • Download URL: SBPGeologyHeron-0.0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for SBPGeologyHeron-0.0.3.tar.gz
Algorithm Hash digest
SHA256 697b5c25ca856d5fb9374fe3238bd1a0972a7da00a21f75538c1eabba657fefc
MD5 c1056f04f4d4dfa98df2389fae04fb10
BLAKE2b-256 bf4985fa7a8ec45cb48252bdd3c6447226e77cbb0dc1c246700901d524210e99

See more details on using hashes here.

File details

Details for the file SBPGeologyHeron-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: SBPGeologyHeron-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for SBPGeologyHeron-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 123a315cb3012adf63d7937c4d5c0ab5bd8285430ee1bf9d524409c3f08c8c55
MD5 06873d3f10720606553051458e64f30d
BLAKE2b-256 36101b40f256b2a3964502b06ff989a59a8b97c4da7f4bee4a86b4f9dcc16a84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page