large-scale

Unit-testing and Integration Testing for Large or Medium-Complexity System Models in SIMULINK

流过昼夜 提交于 2019-12-24 09:28:46
问题 PROBLEM I have a fairly large Hydro-Pneumatic system model composed of roughly 20-25 different subsystems. Each of the subsystem is then composed of digital logic, edge delay blocks, and gateway to external output ports (real-world outputs). Additionally some of the small building blocks are legacy C code imported as S-functions in order to maximise cost-benefit ratio. Each of the subsytem model has been designed in SIMULINK with the use of basic blockset i.e. no add-on commercial blocksets

Large-scale design in Haskell? [closed]

£可爱£侵袭症+ 提交于 2019-12-17 04:36:13
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. What is a good way to design/structure large functional programs, especially in Haskell? I've been

Dealing with large files in Haskell

五迷三道 提交于 2019-12-04 19:31:37
问题 I have a large file (4+ gigs) of, lets just say, 4 byte floats. I would like to treat it as List, in the sense that I would like to be able to use map, filter, foldl, etc. However, instead of producing a new list with the output, I would like to write the output back into the file, and thus only have to load a small portion of the file in memory. You could say I what a type called MutableFileList Has anyone ran into this situation before? Instead of re-inventing the wheel I was wondering if

Brain modelling

时间秒杀一切 提交于 2019-12-03 12:57:52
问题 Just wondering, since we've reached 1 teraflop per PC, yet we are still not able to model an insect's brain. Has anyone seen a decent implementation of a self-learning, self-developing neural network? 回答1: I saw an interesting experiment mapping the physical neural layout of a rat's brain to a digital neural network with weighting modelled on the neuron chemistry of each component taken using MRI and others. Quite interesting. (new scientist or Focus, 2 issues ago?) IBM Blue Brain comes to

Dealing with large files in Haskell

不打扰是莪最后的温柔 提交于 2019-12-03 12:25:10
I have a large file (4+ gigs) of, lets just say, 4 byte floats. I would like to treat it as List, in the sense that I would like to be able to use map, filter, foldl, etc. However, instead of producing a new list with the output, I would like to write the output back into the file, and thus only have to load a small portion of the file in memory. You could say I what a type called MutableFileList Has anyone ran into this situation before? Instead of re-inventing the wheel I was wondering if there a Hackish way for dealing with this? You should not treat it as a [Double] or [Float] in memory.

With Haskell, how do I process large volumes of XML?

◇◆丶佛笑我妖孽 提交于 2019-12-03 05:06:37
问题 I've been exploring the Stack Overflow data dumps and thus far taking advantage of the friendly XML and “parsing” with regular expressions. My attempts with various Haskell XML libraries to find the first post in document-order by a particular user all ran into nasty thrashing. TagSoup import Control.Monad import Text.HTML.TagSoup userid = "83805" main = do posts <- liftM parseTags (readFile "posts.xml") print $ head $ map (fromAttrib "Id") $ filter (~== ("<row OwnerUserId=" ++ userid ++ ">")

With Haskell, how do I process large volumes of XML?

≡放荡痞女 提交于 2019-12-02 18:19:26
I've been exploring the Stack Overflow data dumps and thus far taking advantage of the friendly XML and “parsing” with regular expressions. My attempts with various Haskell XML libraries to find the first post in document-order by a particular user all ran into nasty thrashing. TagSoup import Control.Monad import Text.HTML.TagSoup userid = "83805" main = do posts <- liftM parseTags (readFile "posts.xml") print $ head $ map (fromAttrib "Id") $ filter (~== ("<row OwnerUserId=" ++ userid ++ ">")) posts hxt import Text.XML.HXT.Arrow import Text.XML.HXT.XPath userid = "83805" main = do runX $