Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the meaning of <- in AI?

I've seen in a lot of AI related stuff the symbol <-. For example,

delta <- 0
x <- x + 1

etc.

I always assume its meaning is the same as =(assigment), but probably they have a meaning that's a bit different from assigment, I assume?

Thanks

like image 475
devoured elysium Avatar asked Jan 24 '10 04:01

devoured elysium


People also ask

What are the 4 types of AI?

According to the current system of classification, there are four primary AI types: reactive, limited memory, theory of mind, and self-aware.

What is the full meaning of AI?

Artificial intelligence is the simulation of human intelligence processes by machines, especially computer systems. Specific applications of AI include expert systems, natural language processing, speech recognition and machine vision.

What does the prefix AI mean?

abbreviation. /ˌeɪ ˈaɪ/ /ˌeɪ ˈaɪ/ artificial intelligence (= the study and development of computer systems that can copy intelligent human behaviour)


2 Answers

It's assignment. It removes ambiguity that the "=" symbol adds, because that symbol is often overloaded to test equality.

It makes it very clear that the thing on the left is being assigned the thing on the right, rather than being matched, unified, or otherwise made equal to it.

like image 195
Eli Avatar answered Nov 07 '22 02:11

Eli


Nope, that's pretty much it, you're correct in your assumption that it's a basic assignment.

In particular it means "assign value 0 to delta" and "assign value x+1 to x" in your samples.

like image 44
Mark Elliot Avatar answered Nov 07 '22 02:11

Mark Elliot