1 package org.catacomb.numeric.difnet; 2 3 4 5 6 /** any network on which a diffusion eqution can be solved. 7 * including isolated branched neurons, cell-bath-pipette systems, 8 * or gap junction networks. 9 * 10 * The diffusion calculation is perfrormed by a NetDiffuser operating on a 11 * DiffusiveNet, and calling the get.. and set.. methods in its nodes 12 * and links. 13 */ 14 15 public interface NetState { 16 17 18 /** gets the nodes in the network which take part in the diffusion 19 * process. 20 */ 21 StateNode[] getNodes(); 22 23 /** gets the links in hte netowork which take part in the diffusion 24 * calculation. 25 */ 26 StateLink[] getLinks(); 27 28 29 StateNode getNode(int inode); 30 31 double getValueAt(int i); 32 33 boolean useIntrinsics(); 34 35 36 boolean forceFullMatrix(); 37 38 39 void setError(); 40 41 void setOK(); 42 43 boolean isError(); 44 45 double getTime(); 46 47 void setTime(double t); 48 49 } 50