Catalog PyPI
Back to packageRELEASE DETAILS

0.2

PyPI

affnine-deltaleaf

Easy way to create MAP (Undirected Graph)and find shortest path from one Node to another.

Published18 Aug 2019
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.2 documentation

Affnine deltaleaf

Easy way to create MAP (Undirected Graph)and find shortest path from one Node to another.

Installation

Use the package manager pip to install foobar.

pip install affnine-deltaleaf

Quick start

import affnine_deltaleaf

newMap=afn_spf.deltaLeaf()         #create a object of affnine deltaleaf

newMap.editNameOfTheMap("Miramar") #assign a name to the map

newMap.updateDistance("A","B",1.1) # Distance from one node to another
newMap.updateDistance("A","D",2)
newMap.updateDistance("A","E",4)
newMap.updateDistance("B","E",2)
newMap.updateDistance("C","E",1)
newMap.updateDistance("C","D",5)
newMap.updateDistance("D","F",3)
newMap.updateDistance("E","F",3.4)
newMap.updateDistance("F","A",3)
newMap.updateDistance("G","B",3)
newMap.updateDistance("H","A",3)
newMap.updateDistance("I","C",3)
newMap.updateDistance("J","B",3)
newMap.updateDistance("K","E",3)

print(newMap.finder('A','E')) .   # Find shortest distance and 
                                  # path between two nodes

Output:


t.o

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
affnine_deltaleaf-0.2.tar.gz

sdist · 3.43 KB · Python source

Source file

Repository

PENDING
biswanathamz/affnine_deltaleaf

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:05 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:4be358c62cafee20370007b8bf972ce71e20753084edf28fa7f32017dd694e2f

Other collected versions

View all collected versions →