Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Assembly Programming

You're reading from  Mastering Assembly Programming

Product type Book
Published in Sep 2017
Publisher Packt
ISBN-13 9781787287488
Pages 290 pages
Edition 1st Edition
Languages
Author (1):
Alexey Lyashko Alexey Lyashko
Profile icon Alexey Lyashko

Graphs

The general definition of a graph states that a graph is a data structure consisting of a set of vertices (V) and edges (E). While the vertex may be anything (anything means any data structure), edge is defined by the two vertices it connects-v and w. Edges have a direction, meaning that the data flows from vertex v to vertex w, and weight, which indicates how difficult the flow is.

The easiest and probably the most common example of a graph structure is a perceptron-an artificial neural network paradigm:

Traditionally, perceptrons are drawn from left to right, so we have three layers:

  • The input layer (sensors)
  • The hidden layer (where most of the processing takes place)
  • The output layer (forms the output of a perceptron)

Although nodes of artificial neural network are called neurons, we will refer to them as vertices as we are discussing graphs, not ANNs.

In the preceding...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}