A program to demonstrate the optimization process of ant colony optimization for the traveling saleman problem (TSP). The cities are shown as red circles, the pheromone on the connections between them (fully connected graph) by gray lines. The darker the grey, the more pheromone is currently on the edge. During the optimization, the currently best found tour is drawn in red. To run the optimization, first create a random TSP, then create an ant colony, and finally run the optimization.
標簽: optimization demonstrate the traveling
上傳時間: 2015-07-12
上傳用戶:偷心的海盜
libraw1394 is the only supported interface to the kernel side raw1394 of the Linux IEEE-1394 subsystem, which provides direct access to the connected 1394 buses to user space. Through libraw1394/raw1394, applications can directly send to and receive from other nodes without requiring a kernel driver for the protocol in question.
標簽: 1394 the interface supported
上傳時間: 2015-08-07
上傳用戶:徐孺
EXAMPLE SOURCE CODE FOR IMPLIB FILTER This filter accepts input through the standard input stream, convertsit and outputs it to the standard output am. The streams are linkedthrough pipes, such that the input stream is the output from the import librarian being invoked, and the output stream is connected to the message window of the IDE, ie.
標簽: input standard EXAMPLE accepts
上傳時間: 2014-11-18
上傳用戶:siguazgb
EXAMPLE SOURCE CODE FOR TASM FILTER his filter accepts input through the standard input stream, converts it and outputs it to the standard output stream. The streams are linked through pipes, such that the input stream is the output from the assembler being invoked, and the output stream is connected to the message window of the IDE, ie.
標簽: input standard EXAMPLE accepts
上傳時間: 2014-01-13
上傳用戶:小碼農lz
The Staged Event-Driven Architecture (SEDA) is a new design for building scalable Internet services. SEDA has three major goals: To support massive concurrency, on the order of tens of thousands of clients per node To exhibit robust performance under wide variations in load and, To simplify the design of complex Internet services. SEDA decomposes a complex, event-driven application into a set of stages connected by queues. This design avoids the high overhead associated with thread-based concurrency models, and decouples event and thread scheduling from application logic. SEDA enables services to be well-conditioned to load, preventing resources from being overcommitted when demand exceeds service capacity. Decomposing services into a set of stages also enables modularity and code reuse, as well as the development of debugging tools for complex event-driven applications.
標簽: Event-Driven Architecture Internet building
上傳時間: 2015-09-28
上傳用戶:日光微瀾
This paper presents several low-latency mixed-timing FIFO (first-in–first-out) interfaces designs that interface systems on a chip working at different speeds. The connected systems can be either synchronous or asynchronous. The designs are then adapted to work between systems with very long interconnect delays, by migrating a single-clock solution by Carloni et al. (1999, 2000, and 2001) (for “latency-insensitive” protocols) to mixed-timing domains. The new designs can be made arbitrarily robust with regard to metastability and interface operating speeds. Initial simulations for both latency and throughput are promising.
標簽: mixed-timing low-latency interfaces first-out
上傳時間: 2015-10-08
上傳用戶:dapangxie
問題描述:編寫一個JAVA程序,用面向對象設計的方法編寫一個電話卡的類。包括卡號、密碼、余額、撥入號碼等 b)基本要求:類的屬性有卡號、密碼、余額、撥入號碼,電話卡的常用操作可以用連接電話方法、返回余額方法與通電話方法來實現。 c)方法功能描述: 構造方法(PhoneCard(卡號,密碼,余額,撥入號碼))可以完成屬性值初始化賦值,并判斷余額,余額為負就退出系統,請在構造方法中將初始時的連接置為false即表示沒有連接。 卡號long cardNumber 密碼private int password,余額double balance,撥入號碼string connectNumber boolean connected(一個布爾類型變量表示電話卡連接狀態,初始時默認沒有連接,值為false,當調用連接電話方法()后,在判斷卡號和密碼相匹配后值置為true) 連接電話方法(performConnection(卡號,密碼))可以完成檢查卡號和密碼,它是只有在卡號和密碼相匹配時才連接 返回余額方法(getBalance())得到電話卡的余額 通電話方法(performDial())是模擬通過過程中,余額會不斷減少,每調用此方法,電話卡的余額減少0。5元,打一次電話調用一次
上傳時間: 2014-01-20
上傳用戶:1109003457
J2ME 是SUN 公司針對嵌入式、消費類 電子產品推出的開發平臺,與J2SE 和J2EE 共同組成Java 技術的三個重要的分支。J2ME 實際 上是一系列規范的集合,由JCP 組織制定相關的Java Specification Request(JSR)并發布,各 個廠商會按照規范在自己的產品上進行實現,但是必須要通過TCK 測試,這樣確保兼容性。比 如MIDP2.0 規范就是在JSR118 中制定的。可能接觸過J2ME 的開發者會覺得說J2ME 是一系列 的規范不準確吧。因為我們在開發中用到了很多例如CLDC(connected Limited Devices Configuration)和MIDP(Mobile Information Devices Profile)等內容。
上傳時間: 2015-11-20
上傳用戶:sardinescn
VerboseGC demonstrates the use of the java.lang.management API to print the garbage collection statistics and memory usage remotely by connecting to a JMX agent with a JMX service URL: service:jmx:rmi:///jndi/rmi://<hostName>:<portNum>/jmxrmi where <hostName> is the hostname and <portNum> is the port number to which the JMX agent will be connected.
標簽: the demonstrates collection management
上傳時間: 2013-12-26
上傳用戶:lgnf
ST7529液晶驅動 The ST7529 is a driver & controller LSI for 32 gray scale graphic dot-matrix liquid crystal display systems. It generates 255 Segment and 160 Common driver circuits. This chip is connected directly to a microprocessor, accepts Serial Peripheral Interface (SPI), 8-bit/16-bit parallel or IIC display data and stores in an on-chip display data RAM. It performs display data RAM read/write operation with no external operating clock to minimize power consumption. In addition, because it contains power supply circuits necessary to drive liquid crystal, it is possible to make a display system with the fewest components.
標簽: 7529 controller dot-matrix graphic
上傳時間: 2013-12-02
上傳用戶:奇奇奔奔