In my assignment I find these symbols:
$|w|$ where $w \in L \subset \Sigma^*$
I believe it means the lexikografic value of a word, but I am not 100% certain.
Let me phrase my question this way: could this notation have any other meaning ?
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It only takes a minute to sign up.
Sign up to join this communityIn my assignment I find these symbols:
$|w|$ where $w \in L \subset \Sigma^*$
I believe it means the lexikografic value of a word, but I am not 100% certain.
Let me phrase my question this way: could this notation have any other meaning ?
Usually, $\Sigma^*$ denotes the set of all strings obtainable from an alphabet $\Sigma$.
Most probably, $L$ is a language and $w$ is a word. A language is a subset of the alphabet $\Sigma^*$, thus $L \subset \Sigma^*$.
A word, on the other hand, is a single string obtained from the language $L$.
As an example:
$\Sigma = \{0,1\}$
$\Sigma^* = \{0, 01, 10, 11, 100, 101, \dots, 1011001001, \dots\}$
$L \gets$ all strings containing an even number of zeroes
$w \gets 100010$
And $|w|$ is probably the length of $w$.