This code in this directory implements the binary hopfield network.
Source code may be found in HOPNET.CPP. A sample training file is
H7x8N4.trn. Sample test pattern files are: H7x8D4.TST, H5x8D7.TST,
H5x8D7.TST and H5x8D9.TST, Output of the program goes to both the
screen and a file, ARCHIVE.LST.
We often get questions about how the deflate() and inflate() functions should be used. Users wonder when they should provide more input, when they should use more Output, what to do with a Z_BUF_ERROR, how to make sure the process terminates properly, and so on. So for those who have read zlib.h (a few times), and would like further edification, below is an annotated example in C of simple routines to compress and decompress from an input file to an Output file using deflate() and inflate() respectively. The annotations are interspersed between lines of the code. So please read between the lines. We hope this helps explain some of the intricacies of zlib.
Zlib函數列表 We often get questions about how the deflate() and inflate() functions should be used. Users wonder when they should provide more input, when they should use more Output, what to do with a Z_BUF_ERROR, how to make sure the process terminates properly, and so on. So for those who have read zlib.h (a few times), and would like further edification, below is an annotated example in C of simple routines to compress and decompress from an input file to an Output file using deflate() and inflate() respectively. The annotations are interspersed between lines of the code. So please read between the lines. We hope this helps explain some of the intricacies of zlib.
This design package includes reference materials for creating a
USB - PS/2 combination mouse that auto-detects the interface and
configures itself to operate on the appropriate bus.
Documentation
docs - Designing a low cost CY7C63723 combination mouse.pdf - application note for this design
- schematic.pdf - mouse schematic
Firmware Source Files
src - chip.c - include file that defines CY7C63723 constants
- combi.c - main source file
- combi.hex - Intel hex file for programming a CY7C63723 microcontroller
- combi.lst - Output listing from c-compiler for use with the CYDB debugger
- macros.h - defines macros used in combi.c
- ps2defs.h - defines PS/2 interface constants
- usb_desc.h - defines the USB descriptors
- usbdefs.h - defines USB interface constants
這是CISS會議上發表的著名論文“Tensor Canonical decomposition based method for blind identification of MIMO system with 3-input 2-Output case”的源程序,主要是講基于張量規范分解的多天線系統的忙識別問題,里邊包含了相應的文章,可以一起對照著看。
This simulation script set allows for an OFDM transmission to be
simulated. Imagetx.m generates the OFDM signal, saving it as a
windows WAV file. This allows the OFDM signal to be played out a sound
card and recorded back. Imagerx.m decodes the WAV to extract the
data.
settings.m contains all the common settings to specify all the
simulation parameters such as FFT size, number of carriers,
input data source file, input and Output WAV files, etc.
Input
The first line of the input contains a single integer T (1 <= T <= 20), the number of test cases. Then T cases follow. The first line of each case contains N, and the second line contains N integers giving the time for each people to cross the river. Each case is preceded by a blank line. There won t be more than 1000 people and nobody takes more than 100 seconds to cross.
Output
For each test case, print a line containing the total number of seconds required for all the N people to cross the river.
Sample Input
1
4
1 2 5 10
Sample Output
17
Input
The input contains blocks of 2 lines. The first line contains the number of sticks parts after cutting, there are at most 64 sticks. The second line contains the lengths of those parts separated by the space. The last line of the file contains zero.
Output
The Output should contains the smallest possible length of original sticks, one per line.
Sample Input
9
5 2 1 5 2 1 5 2 1
4
1 2 3 4
0
Sample Output
6
5