It seems like the sample method is not impelemented from the Distrib super class for Uniform, while it seems like its been implemented in other like Disabled and Immediate. Is that a by design? I really need to use Uniform distribution for my scenario. Is there a work-around for this. Otherwise I can't use Line. Please help. Thanks.
Hello, I want to use Uniform distribution in one of the activities for service time on the processor. I was trying different distributions in the example code. I used Uniform as given in the documentation. model = LayeredNetwork('LQN1'); % definition of processors, tasks and entries P1 = Processor(model, 'P1', 1, SchedStrategy.PS); T1 = Task(model, 'T1', 1, SchedStrategy.REF).on(P1); E1 = Entry(model, 'E1').on(T1); P2 = Processor(model, 'P2', 1, SchedStrategy.PS); T2 = Task(model, 'T2', 1, SchedStrategy.INF).on(P2);...
Hi, Thanks a lot for the reply. Is there a description of the example_LQN_4.m somewhere, like the description of the system being modeled may be including a sequence diagram or something. Can I visualize the model like the one shown in Line-2.0.0 documentation using plot(model). Also is it not possible at all to define a model using the LQN classes like lqn, processor, task etc. as described in the documentation?
Hi, I'm trying to use LINE for modeling an LQN model. In LINE v.2.0.0-aplha it seems easy, but I want and there are example to construct a model using MATLAb functions. But I need asynchronous messaging so I have to use v.1.0.0. Is there an example of LQN model modeled using MATLAB functions in v.1.0.0?