Research Article

An Algorithm for Generating Boolean Expressions in VHDL Based on Ladder Diagrams

Algorithm 1

public class Node  {
    string name; // stores the name of the node
    List<Node> preNodes; // stores the predecessor nodes of this node
    List<Node> postNodes; // stores the successor nodes of this node
    ⋯
}.