Author: Pavly G.
The compound propositions
Note
- A compound proposition that is always true, no matter what the truth values of the propositional variables that occur in it, is called a tautology.
- A compound proposition that is always false, no matter what the truth values of the propositional variables that occur in it, is called a contradication.
- A compound proposition that is neither a tautology nor a contradiction, is a contingency.
Overview: The formal definition describes how to compute the shortest path between two vertices in a graph using a systematic approach. It formalizes the idea of Dijkstra's algorithm, where each vertex is processed step-by-step, and distances are updated to find the shortest path from a starting vertex to a terminal vertex.
Graph Representation:
The graph consists of a set of vertices (𝑉) and edges (𝐸). Each edge has a weight that represents the distance between two connected vertices. These distances are stored in a matrix (𝑀), where the value at position
The Shortest Path Problem:
- Prerequisite Terminology.
- Mathematical Structures for representing graphs.
- Graph traversal algorithms.
- Directed graph (Or Digraph): a directed path that is composed of vertexes and edges; where edges are essentially represented by directed arcs from a vertex (known as initial vertex) to another vertex (known as terminating or end vertex).
- Undirected graph (or Multigraph): a non-directed path that is composed of vertexes and edges; where edges are represented by non-directed arcs from a vertex to another vertex (i.e., orientation of arcs are ignored).
- Adjacency Matrix Representation:
| // The following code examines multiple routines of definining dynamic buffers in C. | |
| // This file fires a runtime malloc() error due to a HEAP corruption error; because of buffer overflow. | |
| // Two maneuvers are introduced to fix this | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main() { | |
| // buffers |
This document is devoted to showing another perspective into programming, which in its surface is the scientific programming, but in its heart and core is really intricate. The complexity is imparted due to of the incorporation of mathematical models and their implementation to the syntatics of the programming language, unlike the practical OOP and Functional paradigms, the FSA model (Finite-Automata Model) is a theoretical model. However, in this short document, I am willing to show some caveats of using the FSM models in both low-level and high-level engineering and delivering a reliable software based on a true science.
The scientific basis is all emerged from the scientific modelling which is now a forked entity from the scientific philosophy models.
This document is devoted to derive the filter gates applied on the select lines of a multiplexer before entering the main AND circuit to produce the proper truth table. The document starts first by introducing the preliminaries using a miniaturized model, the 4-to-1 Multiplexer Model, the prototypical model of a MUX circuitry.
For a 4-to-1 Multiplexer case.
Let,
$$
| In file included from /media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/lib/jni/com_serial4j_core_terminal_NativeTerminalDevice.cpp:40: | |
| /media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h:14:16: error: expected identifier before ‘(’ token | |
| 14 | typedef struct errno(errno); | |
| | ^~~~~ | |
| /media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h:14:16: error: typedef ‘__errno_location’ is initialized (use ‘decltype’ instead) | |
| 14 | typedef struct errno(errno); | |
| | ^~~~~ | |
| /media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/e |
digraph G { rankdir = LR; a -> b }

