搜索资源列表
单链表基于线性表的实现
- 1. 基于链表实现线性表的以下基本操作: interface ILinarList<T> { void InsertNode(T a); //在表末尾插入元素 void InsertNode(T a, int i); //在指定的位置i插入元素 void DeleteNode(int i); //删除操作 T SearchNode(int i); //查找表元素
zhsy
- //定义栈的存储结构 typedef struct StackNode { ElemType data //存放数据 struct StackNode * next //指向下一个结点 }StackNode typedef struct { StackNode * top // 栈顶指针 }LinkStack 实现下列操作: void InitStack(L
SeqStack
- 数据结构BTree.h头文件,包含Visit,IsEmpty,Root,PreOrder,InOrder,PostOrder-BTree.h data structure header files, including Visit, IsEmpty, Root, PreOrder, InOrder, PostOrder
BTree
- 数据结构BTree.h头文件,包含Visit,IsEmpty,Root,PreOrder,InOrder,PostOrder,BTree.h data structure header files, including Visit, IsEmpty, Root, PreOrder, InOrder, PostOrder-BTree.h data structure header files, including Visit, IsEmp
lab5-heappath
- // BinaryHeap class // CONSTRUCTION: with an optional capacity (that defaults to 100) // // ******************PUBLIC OPERATIONS********************* // void insert( x ) --> Insert x // deleteMin( minItem ) -
list
- 实现了C++语言链表的功能,实现了函数(size,length,search,locate,getdata,setdata,insert,remove,isempty,isfull,output,input)-Achieved a C++ language features list to achieve the function (size, length, search, locate, getdata, setdata, inse
median1363
- pku1363,1、题目简介: 给出一个数n,1~n的所有整数会以从小到大的顺序入栈,但出栈顺序不定,同时给出几组出栈的顺序,要求判断给出出栈顺序是否可能。 2、算法实现思想: 首先建立一系列的Stack操作,入push,pop,isEmpty,top,clear等 将要判断的出栈序列存储至一个数组map中。然后从最大的n开始到1进行循环压栈和出栈处理。从出栈序列map[]的尾部开始,进栈,不断寻找最大的出栈,次大的出栈
ClassUtils
- 反射工具类,提供一些常用的反射方法。(类似:isEmpty(),getMethods(),getMethod()等等)-Reflection tools provide some reflection.
StringUtil
- flex开发的字符串处理工具包,通过他可校验日期、年月-flex development package
5
- 栈的实现.1.Push 2.Pop 3.Top 4.isEmpty 5.isFull 6.Size 7.退出-Stack to achieve .1. The Push 2.Pop 3.Top 4.isEmpty 5.isFull 6.Size 7.exit
zuoye3_1
- 1. 所谓双端队列(double-ended queue,deque),就是在列表的两端都可以插入和删除数据。因此它允许的操作有Create、IsEmpty、IsFull、Left、Right、AddLeft、AddRight、DeleteLeft、DeleteRight。使用循环数组方式实现双端队列,要求实现上述操作,并实现一个Print输出操作,能将队列由左至右的次序输出于一行,元素间用空格间隔。队列元素类型设为整型。-Called
matlab
- function [CellSpace_nextstep VehicleSpace] = CountingNextStepVehicleState(CellSpace_current,CellSpace_nextstep,VehicleSpace,TakenMat, TakenCarIDMat,VMAX,signalFlag,UseLaneChangingModelFlag) 计算下一时刻的元胞空间状态 获取当前时刻元
3-28
- 建立一个继承结构,以栈、队列、优先级队列作为派生类,建立它们的抽象基类Bag。统一命名派生类的插入操作Add,删除操作Remove,存取操作Get和Put,初始化操作MakeEmpty,判空操作isEmpty,判满操作isFull,计数操作Length。-Establish an inheritance structure to stacks, queues, priority queues as a derived class, to
Linked-List
- The static (circular) queue should be implemented as a class named StaticCircularQueue With a maximum of 100 integer elements, The Dynamic queue should be implemented as a class named DynamicQueue,
Bonus-Project-Option2-LLHeap-LiJi(865582)121314.r
- This project use link-list to implement the heap class. It implements the following four methods: enqueue(), dequeue(), isEmpty() and isFull()
exporttocsv
- qt函数,实现QSqlQueryModel导出到文本文件,做备份,或者防止异常退出而导致的数据丢失。-bool zzzz::exporttocsv(QSqlQueryModel* view, QString fileName) { //单行插入文本文档 if (fileName.isEmpty()) return false QFile file(fileName) i
SkPathOpsBounds
- unlike isEmpty(), this permits lines, but not points.
tuple
- If outputDir.isEmpty(), don t write out diff files.
2
- 编写一个类Stack(文件名为Stack.java),实现简单的栈(FILO)操作。 (1)成员函数有: void put(int item) int get() boolean isEmpty() boolean isFull() (2)数据成员: 一个指出栈顶的指针top,及其他所需成员自定。 (3)同时写出测试程序TestStack.java,测试该类。-编写一个类Sta
image_util
- Creates an image the given JPEG-encoded input. If there was an error creating the image, returns an IsEmpty() Image. -Creates an image the given JPEG-encoded input. If there was an error creating the image, returns an