adevs
Classes | Enumerations | Functions
adevs Namespace Reference

Classes

class  Bag
 
class  CellEvent
 
class  CellSpace
 
class  PortValue
 
class  Digraph
 
class  exception
 
class  method_not_supported_exception
 
class  lookahead_impossible_exception
 
class  Network
 
class  Atomic
 
class  Schedule
 
class  Simulator
 
class  Devs
 
class  Event
 
class  random_seq
 
class  crand
 
class  rv
 
class  Set
 
class  InterPoly
 
class  SimpleDigraph
 
class  ModelWrapper
 
class  LpGraph
 
class  ParSimulator
 
class  EventListener
 
class  AbstractSimulator
 
class  MessageManager
 
class  NullMessageManager
 
class  ode_system
 
class  dae_se1_system
 
class  ode_solver
 
class  event_locator
 
class  Hybrid
 
class  corrected_euler
 
class  event_locator_impl
 
class  bisection_event_locator
 
class  linear_event_locator
 
class  rk_45
 
struct  Time
 
class  double_fcmp
 

Enumerations

enum  errorType {
  NDURATION, NCOUNT, EMPTY, NDELAY,
  ADDTOQ, EMPTYQ, HNCLMS, HMODE,
  PROBVAL, ERRUNIFORM, ERRNORMAL, ERRLOGNORM,
  ERRTRIANG, ERRGAMMA, ERRBETA, ERREXPONENT,
  ERRERLANG, ERRHYPGEO, NULLEV, NOHISTO,
  INITERR, AMODE, HFORM, ERRFILE,
  SAMPLE, FRACTION, LEVEL, SCAN,
  SUPPRESS, SEED
}
 

Functions

template<class T >
void set_assign_diff (Bag< T > &result, const Set< T > &A, const Set< T > &B)
 Set difference operator. Returns the set A-B.
 
int fcmp (double x1, double x2, double epsilon)
 

Detailed Description

Copyright (c) 2013, James Nutaro All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the FreeBSD Project.

Bugs, comments, and questions can be sent to nutar.nosp@m.o@gm.nosp@m.ail.c.nosp@m.om

Function Documentation

int adevs::fcmp ( double  x1,
double  x2,
double  epsilon 
)
inline

The fcmp() inline function is taken from fcmp.c, which is Copyright (c) 1998-2000 Theodore C. Belding, University of Michigan Center for the Study of Complex Systems, Ted.B.nosp@m.eldi.nosp@m.ng@um.nosp@m.ich..nosp@m.edu, http://www-personal.umich.edu/~streak/,

This code is part of the fcmp distribution. fcmp is free software; you can redistribute and modify it under the terms of the GNU Library General Public License (LGPL), version 2 or later. This software comes with absolutely no warranty.