해외 문제입니다
벤자민
1 parallel motif counting of strings.
recently, there has been some interest in computational linguistics and bioinformatics in counting motifs in strings. in particular, counting all of the instances of a particular sub-string in a given string. for example, if we have a string atatatagtata then there are 3 instances of the motif tata in it.
1.1 implementation
you will write a jcsp implementation that will count the number of occurences of a particular motif in a string, where the counting is distributed across the processes.
specification: the main program (runmotif) will accept as input the string to be examined, the motif to be searched and the number of processes npes that will perform the search. npes instances of the class motif will be constructed, each with a local copy of the string.
each instance of the class will examine a substring of the string and count the number of motifs that occur in each substring. hint: think about the above example for say two processes. the number of motifs computed for each process must now be added together to compute a final sum.
note : you will not get any marks for performing a purely serial version of this code.
안녕하세요
지금 이 문제를 열심히 풀어나가고 있습니다
많이 힘드네요..
개발자님들의 도움이 절실히 필요합니다!
도와주세요
-
분홍이
숙제는 아니고 그냥 혼자 시간나서 해본건데 막혀서요...ㅎㅎ 지금은 다 해결했습니다^ ^
-
아키
해외 문제가 아닌..해외 숙제군요ㅡ.ㅡ;
영어 들어가면 해외가 아니랍니다.~
언어 자체가 영어랍니다.ㅡ.ㅡ;;
정..원하시면 번역 하시어 다시 질문 하세요..... -
힘차
숙제는 아니구요^ ^;; 그냥 실력 좀 늘리고 싶으면 풀어보라고 교수님께서 주신 문제들 중 하난데요 하다가 막혀서요..ㅎ 지금은 다 해결했습니다^ ^ 초반에 좀 막혀서 질문을 드렸던거예요..
-
들빛
숙제는 직접 하시면 됩니다. 여기까지 유학와서 왜 다른 사람에게 손을 벌리는 습관을 계속 유지하시고 계신가요 -ㅅ-