Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
Loading...
Searching...
No Matches
node Struct Reference

Node, the basic data structure in the tree. More...

#include <include.h>

Collaboration diagram for node:
[legend]

Data Fields

struct nodeleft
 left child
 
struct noderight
 right child
 
int data
 data of the node
 
struct nodeleftNode
 
struct noderightNode
 
int val
 
struct nodepar
 
int color
 
int vertex
 
struct nodenext
 List pointers.
 
struct nodeprev
 
uint64_t value
 Data stored on each node.
 
int info
 
struct nodelink
 
struct nodepre
 
char data
 
int ID
 ID of the process node.
 
int AT
 Arrival Time of the process node.
 
int BT
 Burst Time of the process node.
 
int priority
 Priority of the process node.
 
int CT
 Completion Time of the process node.
 
int WT
 Waiting Time of the process node.
 
int TAT
 Turn Around Time of the process node.
 

Detailed Description

Node, the basic data structure in the tree.

for assert

Kyler Smith, 2017 Stack data structure implementation.

INCLUDES.

to verify assumptions made by the program and print a diagnostic message if this assumption is false.

to provide a set of integer types with universally consistent definitions that are operating system-independent for IO operations for including functions involving memory allocation such as malloc

Circular Doubly linked list struct

Defining the structure of the node which contains 'data' (type : integer), two pointers 'next' and 'pre' (type : struct node).

creating a stucture with 'data'(type:int), two pointers 'next','pre' (type: struct node) .

for boolean data type for IO operations (printf) for memory allocation eg: malloc, realloc, free, exit

Structure to represent a process

Field Documentation

◆ next

struct node * node::next

List pointers.

pointer to the node


The documentation for this struct was generated from the following files: