Changeset 6794
- Timestamp:
- 07/09/10 14:32:07 (17 months ago)
- Location:
- branches/refactor/ISLAND_HOPPING
- Files:
-
- 1 modified
- 5 moved
-
Makefile (modified) (3 diffs)
-
align.cxx (moved) (moved from branches/refactor/ISLAND_HOPPING/align.c) (4 diffs, 1 prop)
-
i-hopper.cxx (moved) (moved from branches/refactor/ISLAND_HOPPING/i-hopper.c) (1 prop)
-
island_hopping.cxx (moved) (moved from branches/refactor/ISLAND_HOPPING/island_hopping.cpp) (1 diff, 1 prop)
-
mem.cxx (moved) (moved from branches/refactor/ISLAND_HOPPING/mem.c)
-
trnsprob.cxx (moved) (moved from branches/refactor/ISLAND_HOPPING/trnsprob.c) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/refactor/ISLAND_HOPPING/Makefile
r6792 r6794 1 1 # INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben 2 .SUFFIXES: .o .c .c pp.depend2 .SUFFIXES: .o .c .cxx .depend 3 3 4 4 CPP_OBJECTS = island_hopping.o i-hopper.o align.o mem.o trnsprob.o … … 8 8 .c.o: 9 9 $(ACC) $(cflags) -DARB -c $< $(CPPINCLUDES) 10 .c pp.o:11 $(CPP) $(cflags) - c $< $(CPPINCLUDES)10 .cxx.o: 11 $(CPP) $(cflags) -DARB -c $< $(CPPINCLUDES) 12 12 13 13 clean: … … 23 23 .c.depend: 24 24 $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ 25 .c pp.depend:25 .cxx.depend: 26 26 $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ 27 27 -
branches/refactor/ISLAND_HOPPING/align.cxx
r6516 r6794 322 322 Island *p; Fragment *f,**ff,*L; int k,ii,jj,iii,jjj,l; double s; 323 323 324 p= newBlock(sizeof(Island));324 p=(Island*)newBlock(sizeof(Island)); 325 325 326 326 ii=i; jj=j; l=0; s=0.; … … 333 333 k=U[ii][jj].up; 334 334 if(k) { 335 f= newBlock(sizeof(Fragment));335 f=(Fragment*)newBlock(sizeof(Fragment)); 336 336 f->beginX=iii; f->beginY=jjj; f->length=l; 337 337 l=0; *ff=f; ff=&f->next; … … 351 351 k=U[ii][jj].down; 352 352 if(k) { 353 f= newBlock(sizeof(Fragment));353 f=(Fragment*)newBlock(sizeof(Fragment)); 354 354 f->beginX=iii-l+1; f->beginY=jjj-l+1; f->length=l; 355 355 l=0; f->next=L; L=f; … … 805 805 int i,j,maxlen; 806 806 807 *XX = newBlock((nX+nY+1)*sizeof(char));808 *YY = newBlock((nX+nY+1)*sizeof(char));807 *XX = (char*)newBlock((nX+nY+1)*sizeof(char)); 808 *YY = (char*)newBlock((nX+nY+1)*sizeof(char)); 809 809 810 810 Supp=supp; -
branches/refactor/ISLAND_HOPPING/i-hopper.cxx
-
branches/refactor/ISLAND_HOPPING/island_hopping.cxx
r6516 r6794 12 12 13 13 #define EXTERN 14 extern "C" {15 14 #include "i-hopper.h" 16 15 #include "mem.h" 17 }18 16 19 17 #ifndef ARB_ASSERT_H -
branches/refactor/ISLAND_HOPPING/trnsprob.cxx
r6516 r6794 157 157 double ***P; short j; 158 158 159 P= newVector(128,sizeof(double **));159 P=(double***)newVector(128,sizeof(double **)); 160 160 for(j=0;j<128;j++) P[j]=(double **)newMatrix(N,N,sizeof(double)); 161 161
