Posts

Showing posts from July, 2017

Result TU : BE II/I All except BCE of 2073 Chaitra

Image

Dijkstra's Shortest Path Algorithm and Its Python Code

Image
This algorithm finds the length of the shortest path from vertex a to vertex z in a connected, weighted graph. The weight of edge (i , j) is w(i , j) > 0 and the label of vertex x is L(x). At termination, L(z) is the length of the shortest path from a to z.
Input: A connected, weighted graph in which all weights are positive; vertices a and z Output: L(z), the length of the shortest path from a to z Dijkstra(w,a,z,l)       L(a)=0        for all vertices x ≠ a            L(x)  =        T = set of all vertices       // T is the set of vertices whose shortest distance from a has     // not been found      while(z ∈ T) {           choose v ∈ T with minimum L(v)           T = T -{v}           for each x ∈ T adjacent to v                L(x) = min{ L(x) , L(v) + w(v,x)}          }}

NOTE: Algorithm From Discrete Mathematics By Richard Johnsonbaugh
PYTHON CODE:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35defdijkstra(graph,fromVertex,…

Get Free Views From Google On Your Websites

Image
Do you want Pageviews from Google on your websites ?? Then you have landed in the right post. Today I am back with a new post for getting Pageviews in your websites from different location all around the world. I have come across a site named HitLeap which offers Traffic Exchanges for its users. You can earn Hits or buy Hits from this website and increase Pageviews on your website. You can buy hits from this site which delivers Pageviews on your website in real time. The Pageviews are due to the real people like us who also want to increase Pageviews on their sites. But if you don't want to buy Hits, then you can also earn Hits. You can also have your referrals to earn commissions which include Hits as well as cash. It is a good traffic exchange website which delivers real page views on your desired sites. Initially, you can place three websites or page links to receive Pageviews but you can have more by buying more slots for your web pages or sites.
Let's follow the followin…

How To Make Own Apple Id Without Credit Cards in Nepal

Image
Hello, guys Today I am back with a next post where I am going to explain how to get IOS Apple ID without any credit card or other payment methods.
We people in Nepal are facing problems with our Apple Id and we have to use others Apple ID if we don't have. We also face problems in creating Apple ID if we don't have any credit card or other payment options. We have to ask our elders for Apple ID and password again and again if we don't have but now by reading this post, you will be able to create your own Apple ID and free from all those problems of asking the Apple ID frequently from others.
For creating your own APPLE ID without the credit card, Please follow the following steps.
Firstly download the latest ITUNES from Apple website. CLICK HEREInstall and open ITUNES. After opening ITUNES, follow the steps as in the images below.



Now select Apps from the top left corner dropdown menu. Select any of the apps available and click on Get button.


Now click on Create New Apple Id…